From 4fdfdb6ddd33cacfcb96890632be7ae0236633ea Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Mon, 20 Jun 2005 22:06:52 +0000 Subject: * saa7134-core.c: - Fix kernel compile error with CONFIG_MODULES=n Signed-off-by: Adrian Bunk --- linux/drivers/media/video/saa7134/saa7134-core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'linux/drivers') 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); } -- cgit v1.2.3