Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7248d497 authored by Antonino A. Daplas's avatar Antonino A. Daplas Committed by Linus Torvalds
Browse files

pm3fb: Fix compile error if module



pm3fb_setup() should only compiled if pm3fb is built statically in the kernel.

Signed-off-by: default avatarAntonino Daplas <adaplas@gmail.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent af3b146d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -985,7 +985,7 @@ static void __exit pm3fb_exit(void)
	pci_unregister_driver(&pm3fb_driver);
	pci_unregister_driver(&pm3fb_driver);
}
}


#ifdef MODULE
#ifndef MODULE
	/*
	/*
	 *  Setup
	 *  Setup
	 */
	 */