[PATCH] Fixup build by default-building dummy genio

From: Linus Walleij
Date: Wed Dec 07 2011 - 07:45:52 EST


Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
---
drivers/xshm/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/xshm/Makefile b/drivers/xshm/Makefile
index 954bd22..9670960 100644
--- a/drivers/xshm/Makefile
+++ b/drivers/xshm/Makefile
@@ -1,3 +1,3 @@
obj-$(CONFIG_XSHM) += xshm.o
-xshm-objs := xshm_boot.o xshm_dev.o
+xshm-objs := xshm_boot.o xshm_dev.o genio_dummy.o
obj-$(CONFIG_XSHM_CHR) += xshm_chr.o
--
1.7.3.2

I think that you need to teach the driver to dynamically look
for a genio driver so you don't get compilation errors,
then it will find any genio driver or the dummy driver if that
is compiled in.

At the least you need a Kconfig and Makefile entry for the
dummy_genio driver...

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/