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)
committerGrazvydas Ignotas <notasas@gmail.com>
Wed, 25 Apr 2012 22:24:40 +0000 (01:24 +0300)
commit2b956d514993ff87254925a936d5d224af26e3ad
tree905063d4720d8670fd5ffbada153eb3bc64fb4ac
parentcdd3d92f40f80e022cbad3ff4062b7cd3886a1a8
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