diff options
author | Kees Cook <keescook@chromium.org> | 2022-10-11 23:01:10 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-10-17 23:14:32 +0300 |
commit | 8bd4da0f0626ae9a82099d3d99cd6efd4355879b (patch) | |
tree | 9e5b5ea39adada94121afefbc763e1e47d4a0aee /fs/pstore/ram.c | |
parent | 6daf4e82bd54ef004ace4dd6deed60a32c282a95 (diff) | |
download | linux-8bd4da0f0626ae9a82099d3d99cd6efd4355879b.tar.xz |
pstore/ram: Move internal definitions out of kernel-wide include
Most of the details of the ram backend are entirely internal to the
backend itself. Leave only what is needed to instantiate a ram backend
in the kernel-wide header.
Cc: Anton Vorontsov <anton@enomsg.org>
Cc: Colin Cross <ccross@android.com>
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-and-tested-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
Link: https://lore.kernel.org/r/20221011200112.731334-4-keescook@chromium.org
Diffstat (limited to 'fs/pstore/ram.c')
-rw-r--r-- | fs/pstore/ram.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c index 2f18563c8141..f5bf360cf905 100644 --- a/fs/pstore/ram.c +++ b/fs/pstore/ram.c @@ -18,10 +18,11 @@ #include <linux/platform_device.h> #include <linux/slab.h> #include <linux/compiler.h> -#include <linux/pstore_ram.h> #include <linux/of.h> #include <linux/of_address.h> + #include "internal.h" +#include "ram_internal.h" #define RAMOOPS_KERNMSG_HDR "====" #define MIN_MEM_SIZE 4096UL |