kernel-fxtec-pro1x/drivers/staging/android
Anton Vorontsov 7dd8e9be9d staging: android: persistent_ram: Prepare for modular builds
This is a transition patch to keep things bisectable, just moves
some routines under '#ifndef MODULE'. The code inside the #ifndef
will go away soon, but so far we must support pstore and ram_console.

So, we are about to use persistent_ram with pstore, with the ability
to compile persistent_ram routines as modules. Some parts of
persistent_ram uses memblock_reserve() routine, which is should be
only used built-in code, and thus it is not exported.

These persistent_ram bits are only used by Android's ram_console,
which is always built-in.

Without this patch, we won't able to compile persistent_ram as a
module:

ERROR: "memblock_reserve" [fs/pstore/ramoops.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

(As alternative, we could export memblock_reserve, but the thing
is: we won't need it later.)

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-16 06:18:32 -07:00
..
switch staging: android: switch: minor code formatting cleanups 2011-12-16 13:41:37 -08:00
alarm-dev.c staging: android-alarm: Switch from wakelocks to wakeup sources 2012-04-24 11:01:45 -07:00
android_alarm.h android-alarm: Remove unused android alarm in-kernel interfaces 2012-04-20 15:06:25 -07:00
ashmem.c drivers/staging/android/ashmem.c: Cleanups 2012-02-08 16:47:51 -08:00
ashmem.h ashmem: Anonymous shared memory subsystem 2011-12-21 13:38:28 -08:00
binder.c Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-03-29 18:12:23 -07:00
binder.h staging: android: binder: fix sparse warnings 2012-04-24 11:01:46 -07:00
Kconfig Merge 3.4-rc5 into staging-next 2012-05-02 11:48:07 -07:00
logger.c staging: android: logger: Fix some sparse and whitespace issues 2012-05-10 15:47:01 -07:00
logger.h android: logger: Add new system log for framework/system log messages 2011-11-30 20:40:06 +09:00
lowmemorykiller.c android, lowmemorykiller: remove task handoff notifier 2012-04-09 20:48:44 -07:00
Makefile android-alarm: Remove unused android alarm in-kernel interfaces 2012-04-20 15:06:25 -07:00
persistent_ram.c staging: android: persistent_ram: Prepare for modular builds 2012-05-16 06:18:32 -07:00
persistent_ram.h staging: android: persistent_ram: Remove never used struct persistent_ram_zone members 2012-05-16 06:12:49 -07:00
ram_console.c Staging: android: ram_console.c: 2012-03-15 16:38:14 -07:00
ram_console.h staging: android: ram_console: pass in a boot info string 2011-11-30 21:23:37 +09:00
timed_gpio.c Staging: android: timed_gpio: Fix resource leak in timed_gpio_probe error paths 2012-04-10 09:48:29 -07:00
timed_gpio.h Staging: android: timed_gpio: Removed spaces before tabs 2012-02-29 15:52:52 -08:00
timed_output.c staging: android: timed_output : disable the timed output device when the device is unregistered 2012-04-29 21:36:35 -04:00
timed_output.h
TODO drivers:staging:android Typos: fix some comments that have typos in them. 2012-02-08 16:47:50 -08:00