[lkml]   [2009]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] drivers/char/nvram.c: Undo removal of duplicated include
elesueur@bitburger:/usr/src/linux-2.6-git$ make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CALL scripts/
CHK include/linux/compile.h
CC drivers/char/consolemap_deftbl.o
CC drivers/char/defkeymap.o
LD drivers/char/built-in.o
CC [M] drivers/char/nvram.o
drivers/char/nvram.c: In function 'nvram_open':
drivers/char/nvram.c:332: error: implicit declaration of function
drivers/char/nvram.c:339: error: implicit declaration of function
make[2]: *** [drivers/char/nvram.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2

a check shows commit id: 4d8f54d9e4323baae8c8ca753db91563f4b34ddb
removed a 'duplicated include' which I believe is erroneous.

diff --git a/drivers/char/nvram.c b/drivers/char/nvram.c
index 2100a8f..3cfa0f6 100644
--- a/drivers/char/nvram.c
+++ b/drivers/char/nvram.c
@@ -38,6 +38,7 @@
#define NVRAM_VERSION "1.3"

#include <linux/module.h>
+#include <linux/smp_lock.h>
#include <linux/nvram.h>

#define PC 1

Etienne Le Sueur

 \ /
  Last update: 2009-12-10 03:45    [W:0.041 / U:56.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site