1 From b4931e6c151acad06b4c12dc7cdb634366d7d27a Mon Sep 17 00:00:00 2001
2 From: Steven Noonan <steven@uplinklabs.net>
3 Date: Mon, 8 Sep 2008 16:19:10 -0700
4 Subject: [PATCH] init/initramfs.c: unused function when compiling without CONFIG_BLK_DEV_RAM
6 Fixing compiler warning when the kernel isn't compiled with support
7 for RAM block devices enabled.
9 Signed-off-by: Steven Noonan <steven@uplinklabs.net>
10 Signed-off-by: Ingo Molnar <mingo@elte.hu>
12 init/initramfs.c | 2 ++
13 1 files changed, 2 insertions(+), 0 deletions(-)
15 diff --git a/init/initramfs.c b/init/initramfs.c
16 index da8d030..2f056e2 100644
17 --- a/init/initramfs.c
18 +++ b/init/initramfs.c
19 @@ -512,6 +512,7 @@ skip:
23 +#ifdef CONFIG_BLK_DEV_RAM
25 static void __init clean_rootfs(void)
27 @@ -558,6 +559,7 @@ static void __init clean_rootfs(void)
33 static int __init populate_rootfs(void)