From 3e59166fc31e3961d4b5ab0b0b55bb398ef26438 Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Tue, 7 Feb 2017 11:09:30 -0800 Subject: [PATCH] ANDROID: goldfish_sync: Isolate single module to fix compilation ERROR: "goldfish_sync_timeline_signal_internal" [drivers/staging/goldfish/goldfish_sync.ko] undefined! ERROR: "goldfish_sync_timeline_create_internal" [drivers/staging/goldfish/goldfish_sync.ko] undefined! ERROR: "goldfish_sync_pt_create_internal" [drivers/staging/goldfish/goldfish_sync.ko] undefined! ERROR: "goldfish_sync_timeline_put_internal" [drivers/staging/goldfish/goldfish_sync.ko] undefined! Change-Id: I2a97c2a33b38ceeb696d28187539c158aa97a620 Signed-off-by: Dmitry Shmidt --- drivers/staging/goldfish/Makefile | 2 +- .../goldfish/{goldfish_sync.c => goldfish_sync_timeline.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename drivers/staging/goldfish/{goldfish_sync.c => goldfish_sync_timeline.c} (100%) diff --git a/drivers/staging/goldfish/Makefile b/drivers/staging/goldfish/Makefile index fbebfb7c781c..3313fce4e940 100644 --- a/drivers/staging/goldfish/Makefile +++ b/drivers/staging/goldfish/Makefile @@ -8,5 +8,5 @@ obj-$(CONFIG_MTD_GOLDFISH_NAND) += goldfish_nand.o # and sync ccflags-y := -Idrivers/staging/android -obj-$(CONFIG_GOLDFISH_SYNC) += goldfish_sync_timeline_fence.o +goldfish_sync-objs := goldfish_sync_timeline_fence.o goldfish_sync_timeline.o obj-$(CONFIG_GOLDFISH_SYNC) += goldfish_sync.o diff --git a/drivers/staging/goldfish/goldfish_sync.c b/drivers/staging/goldfish/goldfish_sync_timeline.c similarity index 100% rename from drivers/staging/goldfish/goldfish_sync.c rename to drivers/staging/goldfish/goldfish_sync_timeline.c -- 2.20.1