diff options
author | John Stultz <john.stultz@linaro.org> | 2012-02-09 14:24:41 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-10 10:08:01 -0800 |
commit | 2157f896774ace6e98c851878f8089fb861502e2 (patch) | |
tree | f624e45215805c6558a9693ba1ffec266698bacc /drivers/staging/android/Kconfig | |
parent | 7f9b98a39bdd12db051514eb0daff689c34b8b4e (diff) | |
download | op-kernel-dev-2157f896774ace6e98c851878f8089fb861502e2.zip op-kernel-dev-2157f896774ace6e98c851878f8089fb861502e2.tar.gz |
staging: android-alarm: Support old drivers via preprocessor aliasing
Older out of tree drivers that were desgined to the Android Alarm
in-kernel API may not build due to the namespace collision fixed in
an earlier patch. Per Arve's suggestion, this patch provides
preprocessor macros that allow older drivers to build.
CC: Arve Hjønnevåg <arve@android.com>
CC: Android Kernel Team <kernel-team@android.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android/Kconfig')
-rw-r--r-- | drivers/staging/android/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/staging/android/Kconfig b/drivers/staging/android/Kconfig index 6bb4fa8..75ca225 100644 --- a/drivers/staging/android/Kconfig +++ b/drivers/staging/android/Kconfig @@ -122,6 +122,15 @@ config ANDROID_INTF_ALARM_DEV help Exports the alarm interface to user-space. +config ANDROID_ALARM_OLDDRV_COMPAT + bool "Android Alarm compatability with old drivers" + depends on ANDROID_INTF_ALARM + default n + help + Provides preprocessor alias to aid compatability with + older out-of-tree drivers that use the Android Alarm + in-kernel API. This will be removed eventually. + endif # if ANDROID endmenu |