summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMichael Krufky <devnull@localhost>2005-06-20 22:06:52 +0000
committerMichael Krufky <devnull@localhost>2005-06-20 22:06:52 +0000
commit4fdfdb6ddd33cacfcb96890632be7ae0236633ea (patch)
treee41f8606d6c4400fa79996f7fd29dfd5ed00ccdd /linux/drivers
parent778fe04ae5f3b517894e9d7fb5f4d54ce4ed9135 (diff)
downloadmediapointer-dvb-s2-4fdfdb6ddd33cacfcb96890632be7ae0236633ea.tar.gz
mediapointer-dvb-s2-4fdfdb6ddd33cacfcb96890632be7ae0236633ea.tar.bz2
* saa7134-core.c:
- Fix kernel compile error with CONFIG_MODULES=n Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-core.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-core.c b/linux/drivers/media/video/saa7134/saa7134-core.c
index 8f2eba0fd..3f81aac46 100644
--- a/linux/drivers/media/video/saa7134/saa7134-core.c
+++ b/linux/drivers/media/video/saa7134/saa7134-core.c
@@ -1,5 +1,5 @@
/*
- * $Id: saa7134-core.c,v 1.32 2005/06/16 23:00:22 hhackmann Exp $
+ * $Id: saa7134-core.c,v 1.33 2005/06/20 22:06:52 mkrufky Exp $
*
* device driver for philips saa7134 based TV cards
* driver core
@@ -1291,8 +1291,10 @@ static int saa7134_init(void)
static void saa7134_fini(void)
{
+#ifdef CONFIG_MODULES
if (pending_registered)
unregister_module_notifier(&pending_notifier);
+#endif
pci_unregister_driver(&saa7134_pci_driver);
}