summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/mdtv/Makefile7
-rw-r--r--linux/drivers/media/mdtv/smschar.c2
2 files changed, 6 insertions, 3 deletions
diff --git a/linux/drivers/media/mdtv/Makefile b/linux/drivers/media/mdtv/Makefile
index 1e54d8f79..9798657c7 100644
--- a/linux/drivers/media/mdtv/Makefile
+++ b/linux/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/linux/drivers/media/mdtv/smschar.c b/linux/drivers/media/mdtv/smschar.c
index 0477ad0ed..15ebecd59 100644
--- a/linux/drivers/media/mdtv/smschar.c
+++ b/linux/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);