commit | 8cf5aff89e5991aa4bec903b6dbab7d248047d98 | [log] [tgz] |
---|---|---|
author | Anton Vorontsov <anton.vorontsov@linaro.org> | Fri May 11 17:17:34 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon May 14 08:56:05 2012 -0700 |
tree | 7f1b2baa5a4ac7d69c80872b0ba9b2f5033cbe41 | |
parent | bb4206f2042d950a7af1560200af81aa59172a84 [diff] |
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>