Skip to content

Commit

Permalink
pm3fb: Fix compile error if module
Browse files Browse the repository at this point in the history
pm3fb_setup() should only compiled if pm3fb is built statically in the kernel.

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed May 12, 2007
1 parent af3b146 commit 7248d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/pm3fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ static void __exit pm3fb_exit(void)
pci_unregister_driver(&pm3fb_driver);
}

#ifdef MODULE
#ifndef MODULE
/*
* Setup
*/
Expand Down

0 comments on commit 7248d49

Please sign in to comment.