staging: android-alarm: Support old drivers via preprocessor aliasing
authorJohn Stultz <john.stultz@linaro.org>
Thu, 9 Feb 2012 22:24:41 +0000 (14:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Feb 2012 18:08:01 +0000 (10:08 -0800)
commit2157f896774ace6e98c851878f8089fb861502e2
treef624e45215805c6558a9693ba1ffec266698bacc
parent7f9b98a39bdd12db051514eb0daff689c34b8b4e
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>
drivers/staging/android/Kconfig
drivers/staging/android/android_alarm.h