Commit f6544701 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] saa7134 !CONFIG_MODULES build fix

drivers/media/video/saa7134/saa7134-core.c: In function `saa7134_fini':
drivers/media/video/saa7134/saa7134-core.c:1215: `pending_registered' undeclared (first use in this function)
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 7d6b0e2a
...@@ -1212,8 +1212,10 @@ static int saa7134_init(void) ...@@ -1212,8 +1212,10 @@ static int saa7134_init(void)
static void saa7134_fini(void) static void saa7134_fini(void)
{ {
#ifdef CONFIG_MODULES
if (pending_registered) if (pending_registered)
unregister_module_notifier(&pending_notifier); unregister_module_notifier(&pending_notifier);
#endif
pci_unregister_driver(&saa7134_pci_driver); pci_unregister_driver(&saa7134_pci_driver);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment