V4L/DVB (8260): sms1xxx: build fixes
authorMichael Krufky <mkrufky@linuxtv.org>
Mon, 19 May 2008 21:58:40 +0000 (18:58 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:19:44 +0000 (07:19 -0300)
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/mdtv/Makefile
drivers/media/mdtv/smschar.c

index 1e54d8f796dccafe095c47fa3fc01495a58cc4d6..9798657c7a52815c18c91bc07f361a65e380fcd2 100644 (file)
@@ -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
index 0477ad0ed6d6dc30fd63c40dcf0c895231e91247..15ebecd598ec3f7d8342d4c8e006337531984c19 100644 (file)
@@ -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);