mirror of
https://github.com/torvalds/linux.git
synced 2024-10-30 00:32:38 +00:00
86f69fe9c0
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>
20 lines
324 B
C
20 lines
324 B
C
#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");
|