Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Staging: workaround build system bug
This is needed as CONFIG_STAGING is set to y, yet there is no code in drivers/staging/ to build, so the build-in.o doesn't get created properly. Create a "dummy" module in drivers/staging called staging.c to work around this bug. Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,19 @@ | |||
#include <linux/kernel.h> | |||
#include <linux/init.h> | |||
#include <linux/module.h> | |||
|
|||
static int __init staging_init(void) | |||
{ | |||
return 0; | |||
} | |||
|
|||
static void __exit staging_exit(void) | |||
{ | |||
} | |||
|
|||
module_init(staging_init); | |||
module_exit(staging_exit); | |||
|
|||
MODULE_AUTHOR("Greg Kroah-Hartman"); | |||
MODULE_DESCRIPTION("Staging Core"); | |||
MODULE_LICENSE("GPL"); |