aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-05-19 18:58:40 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 07:19:44 -0300
commit7315b082e333191f7606dbb23dbcbdba98a79c11 (patch)
treef67ee6783bed09329e026c1d4acf4d5101bdbfde
parent9c59f968a9960bbb3402c8a8ea8004c798f4f383 (diff)
V4L/DVB (8260): sms1xxx: build fixes
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/mdtv/Makefile7
-rw-r--r--drivers/media/mdtv/smschar.c2
2 files changed, 6 insertions, 3 deletions
diff --git a/drivers/media/mdtv/Makefile b/drivers/media/mdtv/Makefile
index 1e54d8f796d..9798657c7a5 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 0477ad0ed6d..15ebecd598e 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);