From: Baptiste Covolato <b.covolato@gmail.com>
To: greg@kroah.com
Cc: swetland@google.com, linux-kernel@vger.kernel.org,
Baptiste Covolato <b.covolato@gmail.com>
Subject: [PATCH] Staging: android: Add possibility to compile android drivers as modules
Date: Sat, 9 Nov 2013 14:23:42 +0100 [thread overview]
Message-ID: <1384003422-24683-1-git-send-email-b.covolato@gmail.com> (raw)
Compilation of Android staging drivers as drivers is now possible.
Signed-off-by: Baptiste Covolato <b.covolato@gmail.com>
---
drivers/staging/android/Kconfig | 18 +++++++++---------
drivers/staging/android/TODO | 1 -
2 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/drivers/staging/android/Kconfig b/drivers/staging/android/Kconfig
index 1e9ab6d..a22737d 100644
--- a/drivers/staging/android/Kconfig
+++ b/drivers/staging/android/Kconfig
@@ -1,7 +1,7 @@
menu "Android"
config ANDROID
- bool "Android Drivers"
+ tristate "Android Drivers"
default N
---help---
Enable support for various drivers needed on the Android platform
@@ -9,7 +9,7 @@ config ANDROID
if ANDROID
config ANDROID_BINDER_IPC
- bool "Android Binder IPC Driver"
+ tristate "Android Binder IPC Driver"
depends on MMU
default n
---help---
@@ -21,7 +21,7 @@ config ANDROID_BINDER_IPC
between said processes.
config ASHMEM
- bool "Enable the Anonymous Shared Memory Subsystem"
+ tristate "Enable the Anonymous Shared Memory Subsystem"
default n
depends on SHMEM
---help---
@@ -50,7 +50,7 @@ config ANDROID_LOGGER
much overhead in the system.
config ANDROID_TIMED_OUTPUT
- bool "Timed output class driver"
+ tristate "Timed output class driver"
default y
config ANDROID_TIMED_GPIO
@@ -59,13 +59,13 @@ config ANDROID_TIMED_GPIO
default n
config ANDROID_LOW_MEMORY_KILLER
- bool "Android Low Memory Killer"
+ tristate "Android Low Memory Killer"
default N
---help---
Registers processes to be killed when memory is low
config ANDROID_INTF_ALARM_DEV
- bool "Android alarm driver"
+ tristate "Android alarm driver"
depends on RTC_CLASS
default n
---help---
@@ -74,7 +74,7 @@ config ANDROID_INTF_ALARM_DEV
Also exports the alarm interface to user-space.
config SYNC
- bool "Synchronization framework"
+ tristate "Synchronization framework"
default n
select ANON_INODES
---help---
@@ -83,7 +83,7 @@ config SYNC
synchronization built into devices like GPUs.
config SW_SYNC
- bool "Software synchronization objects"
+ tristate "Software synchronization objects"
default n
depends on SYNC
---help---
@@ -92,7 +92,7 @@ config SW_SYNC
the synchronization.
config SW_SYNC_USER
- bool "Userspace API for SW_SYNC"
+ tristate "Userspace API for SW_SYNC"
default n
depends on SW_SYNC
---help---
diff --git a/drivers/staging/android/TODO b/drivers/staging/android/TODO
index b15fb0d..9b7394a 100644
--- a/drivers/staging/android/TODO
+++ b/drivers/staging/android/TODO
@@ -2,7 +2,6 @@ TODO:
- checkpatch.pl cleanups
- sparse fixes
- rename files to be not so "generic"
- - make sure things build as modules properly
- add proper arch dependencies as needed
- audit userspace interfaces to make sure they are sane
--
1.8.4.2
next reply other threads:[~2013-11-09 11:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-09 13:23 Baptiste Covolato [this message]
2013-11-09 12:55 ` [PATCH] Staging: android: Add possibility to compile android drivers as modules Levente Kurusa
2013-11-09 13:15 ` Baptiste Covolato
2013-11-09 13:22 ` Levente Kurusa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1384003422-24683-1-git-send-email-b.covolato@gmail.com \
--to=b.covolato@gmail.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=swetland@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).