From 9d40ac5867b9aefe0722bc1f110b965ff294d30d Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 10:00:36 +0800 Subject: add via modify part source code for wm8880 4.4 kitkat --- ANDROID_3.4.5/fs/proc/version.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ANDROID_3.4.5/fs/proc/version.c') diff --git a/ANDROID_3.4.5/fs/proc/version.c b/ANDROID_3.4.5/fs/proc/version.c index 76817a60..8d181cdc 100644 --- a/ANDROID_3.4.5/fs/proc/version.c +++ b/ANDROID_3.4.5/fs/proc/version.c @@ -4,13 +4,19 @@ #include #include #include +#include static int version_proc_show(struct seq_file *m, void *v) { +#if 1 /* add to show kernel version */ + seq_printf(m, "%s\n",linux_banner); + seq_printf(m, "Kernel %s (%s - %s)\n",CONFIG_KERNEL_VERSION,__DATE__,__TIME__); +#else seq_printf(m, linux_proc_banner, utsname()->sysname, utsname()->release, utsname()->version); +#endif return 0; } -- cgit