From: Michael Krufky Date: Mon, 19 May 2008 21:58:40 +0000 (-0300) Subject: V4L/DVB (8260): sms1xxx: build fixes X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7315b082e333191f7606dbb23dbcbdba98a79c11;p=linux-beck.git V4L/DVB (8260): sms1xxx: build fixes Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/mdtv/Makefile b/drivers/media/mdtv/Makefile index 1e54d8f796dc..9798657c7a52 100644 --- a/drivers/media/mdtv/Makefile +++ b/drivers/media/mdtv/Makefile @@ -2,7 +2,8 @@ # Makefile for the kernel MDTV driver # -obj-$(CONFIG_MDTV_SIANO_STELLAR_COMMON) += smschar.o smsnet.o -obj-$(CONFIG_MDTV_SIANO_STELLAR_USB) += smsusb.o +smscore-objs := smschar.o smscoreapi.o -EXTRA_CFLAGS += +obj-$(CONFIG_MDTV_SIANO_STELLAR_COMMON) += smscore.o smsnet.o +obj-$(CONFIG_MDTV_SIANO_STELLAR_USB) += smsusb.o +obj-$(CONFIG_MDTV_SIANO_STELLAR_USB) += smsdvb.o diff --git a/drivers/media/mdtv/smschar.c b/drivers/media/mdtv/smschar.c index 0477ad0ed6d6..15ebecd598ec 100644 --- a/drivers/media/mdtv/smschar.c +++ b/drivers/media/mdtv/smschar.c @@ -565,6 +565,7 @@ int smschar_initialize(void) return smscore_register_hotplug(smschar_hotplug); } +EXPORT_SYMBOL(smschar_initialize); void smschar_terminate(void) { @@ -573,3 +574,4 @@ void smschar_terminate(void) unregister_chrdev_region(devno, SMSCHAR_NR_DEVS); smscore_unregister_hotplug(smschar_hotplug); } +EXPORT_SYMBOL(smschar_terminate);