summaryrefslogtreecommitdiff
path: root/drivers/staging/android/ram_console.c
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-05-17 11:15:08 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-17 19:50:00 +0400
commitcddb8751c80348df75149f44fc3bf38d3dd1f3e6 (patch)
tree1c4a3ccbd99179b489c53dd6a7dfd7aa72cc0bab /drivers/staging/android/ram_console.c
parent357fcff5bd8510fd7747d776d3dcedde6b801d3e (diff)
downloadlinux-cddb8751c80348df75149f44fc3bf38d3dd1f3e6.tar.xz
staging: android: persistent_ram: Move to fs/pstore/ram_core.c
This is a first step for adding ECC support for pstore RAM backend: we will use the persistent_ram routines, kindly provided by Google. Basically, persistent_ram is a set of helper routines to deal with the [optionally] ECC-protected persistent ram regions. A bit of Makefile, Kconfig and header files adjustments were needed because of the move. Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android/ram_console.c')
-rw-r--r--drivers/staging/android/ram_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/android/ram_console.c b/drivers/staging/android/ram_console.c
index ce140ffc54ea..82323bb1d1a3 100644
--- a/drivers/staging/android/ram_console.c
+++ b/drivers/staging/android/ram_console.c
@@ -21,7 +21,7 @@
#include <linux/string.h>
#include <linux/uaccess.h>
#include <linux/io.h>
-#include "persistent_ram.h"
+#include <linux/pstore_ram.h>
#include "ram_console.h"
static struct persistent_ram_zone *ram_console_zone;