提交 6dc9c9e8 编写于 作者: G Greg Kroah-Hartman

Staging: add android framework

This prepares us to start adding the android drivers
to the build.

The dummy android.c file will go away in the next few patches, as it
will not be needed once drivers/staging/android/ has a driver in it.

Cc: Robert Love <rlove@google.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 4cf7c4c6
......@@ -93,5 +93,7 @@ source "drivers/staging/frontier/Kconfig"
source "drivers/staging/epl/Kconfig"
source "drivers/staging/android/Kconfig"
endif # !STAGING_EXCLUDE_BUILD
endif # STAGING
......@@ -29,3 +29,4 @@ obj-$(CONFIG_USB_RSPI) += rspiusb/
obj-$(CONFIG_INPUT_MIMIO) += mimio/
obj-$(CONFIG_TRANZPORT) += frontier/
obj-$(CONFIG_EPL) += epl/
obj-$(CONFIG_ANDROID) += android/
menu "Android"
config ANDROID
bool "Android Drivers"
default N
---help---
Enable support for various drivers needed on the Android platform
endmenu
obj-$(CONFIG_ANDROID) += android.o
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
static int __init android_init(void)
{
return 0;
}
static void __exit android_exit(void)
{
}
module_init(android_init);
module_exit(android_exit);
MODULE_AUTHOR("Greg Kroah-Hartman");
MODULE_LICENSE("GPL");
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册