staging: android: persistent_ram: Introduce persistent_ram_new()
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Sat, 12 May 2012 00:17:34 +0000 (17:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2012 15:56:05 +0000 (08:56 -0700)
commit8cf5aff89e5991aa4bec903b6dbab7d248047d98
tree7f1b2baa5a4ac7d69c80872b0ba9b2f5033cbe41
parentbb4206f2042d950a7af1560200af81aa59172a84
staging: android: persistent_ram: Introduce persistent_ram_new()

The routine just creates a persistent ram zone at a specified address.

For persistent_ram_init_ringbuffer() we'd need to add a
'struct persistent_ram' to the global list, and associate it with a
device. We don't need all this complexity in pstore_ram, so we introduce
the simple function.

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/persistent_ram.c
drivers/staging/android/persistent_ram.h