Commit 4322576f authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] ISDN PCBIT: fix nonmodular compile

From:  Adrian Bunk <bunk@fs.tum.de>
parent e60e2df9
...@@ -82,12 +82,14 @@ static int __init pcbit_init(void) ...@@ -82,12 +82,14 @@ static int __init pcbit_init(void)
static void __exit pcbit_exit(void) static void __exit pcbit_exit(void)
{ {
#ifdef MODULE
int board; int board;
for (board = 0; board < num_boards; board++) for (board = 0; board < num_boards; board++)
pcbit_terminate(board); pcbit_terminate(board);
printk(KERN_NOTICE printk(KERN_NOTICE
"PCBIT-D module unloaded\n"); "PCBIT-D module unloaded\n");
#endif
} }
#ifndef MODULE #ifndef MODULE
......
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