[PATCH] remove unneeded includes from pSeries_nvram.c
Olaf Hering
olh at suse.de
Mon Feb 7 02:26:12 EST 2005
The pseries nvram driver started probably as a copy of nvram.c. These
includes are not needed to build it.
Signed-off-by: Olaf Hering <olh at suse.de>
diff -purNx tags ../linux-2.6.11-rc3.orig/arch/ppc64/kernel/pSeries_nvram.c ./arch/ppc64/kernel/pSeries_nvram.c
--- ../linux-2.6.11-rc3.orig/arch/ppc64/kernel/pSeries_nvram.c 2005-02-03 02:56:33.000000000 +0100
+++ ./arch/ppc64/kernel/pSeries_nvram.c 2005-02-06 14:57:23.000000000 +0100
@@ -11,14 +11,9 @@
* This perhaps should live in drivers/char
*/
-#include <linux/module.h>
#include <linux/types.h>
#include <linux/errno.h>
-#include <linux/fs.h>
-#include <linux/miscdevice.h>
-#include <linux/fcntl.h>
-#include <linux/nvram.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
More information about the Linuxppc64-dev
mailing list