Skip to content

Commit

Permalink
Staging: add android framework
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
gregkh committed Jan 6, 2009
1 parent 4cf7c4c commit 6dc9c9e
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions drivers/staging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
9 changes: 9 additions & 0 deletions drivers/staging/android/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
menu "Android"

config ANDROID
bool "Android Drivers"
default N
---help---
Enable support for various drivers needed on the Android platform

endmenu
1 change: 1 addition & 0 deletions drivers/staging/android/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj-$(CONFIG_ANDROID) += android.o
18 changes: 18 additions & 0 deletions drivers/staging/android/android.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#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");

0 comments on commit 6dc9c9e

Please sign in to comment.