sparc/drivers: use linux/of_device.h instead of
Subsystems (2)
PATCH 1/1 sparc/drivers: use linux/of_device.h instead of
Signed-off-by Stephen Rothwell <[email protected]>
--- drivers/input/serio/i8042-sparcio.h | 3 ++- drivers/sbus/sbus.c | 2 +- drivers/serial/sunhv.c | 2 +- drivers/serial/sunsab.c | 2 +- drivers/serial/sunsu.c | 2 +- drivers/serial/sunzilog.c | 2 +- 6 files changed, 7 insertions(+), 6 deletions(-)
These files are all Sparc specific (as far as I can tell) and this patch fixes the last of these includes for Sparc. Build tested for sparc32 defconfig and sparc64 allmodconfig.
drivers/input/serio/i8042-sparcio.h +2 -1
@@ -1,10 +1,11 @@#ifndef _I8042_SPARCIO_H#define _I8042_SPARCIO_H +#include <linux/of_device.h> +#include <asm/io.h> #include <asm/oplib.h> #include <asm/prom.h> -#include <asm/of_device.h> static int i8042_kbd_irq =-1 ;static int i8042_aux_irq =-1 ;
drivers/sbus/sbus.c +1 -1
@@ -7,13 +7,13 @@#include <linux/slab.h> #include <linux/init.h> #include <linux/device.h> +#include <linux/of_device.h> #include <asm/system.h> #include <asm/sbus.h> #include <asm/dma.h> #include <asm/oplib.h> #include <asm/prom.h> -#include <asm/of_device.h> #include <asm/bpp.h> #include <asm/irq.h>
drivers/serial/sunhv.c +1 -1
@@ -17,11 +17,11 @@#include <linux/slab.h> #include <linux/delay.h> #include <linux/init.h> +#include <linux/of_device.h> #include <asm/hypervisor.h> #include <asm/spitfire.h> #include <asm/prom.h> -#include <asm/of_device.h> #include <asm/irq.h> #if defined(CONFIG_MAGIC_SYSRQ )
drivers/serial/sunsab.c +1 -1
@@ -32,11 +32,11 @@#include <linux/slab.h> #include <linux/delay.h> #include <linux/init.h> +#include <linux/of_device.h> #include <asm/io.h> #include <asm/irq.h> #include <asm/prom.h> -#include <asm/of_device.h> #if defined(CONFIG_SERIAL_SUNSAB_CONSOLE ) && defined(CONFIG_MAGIC_SYSRQ )#define SUPPORT_SYSRQ
drivers/serial/sunsu.c +1 -1
@@ -35,11 +35,11 @@#include <linux/serial_reg.h> #include <linux/init.h> #include <linux/delay.h> +#include <linux/of_device.h> #include <asm/io.h> #include <asm/irq.h> #include <asm/prom.h> -#include <asm/of_device.h> #if defined(CONFIG_SERIAL_SUNSU_CONSOLE ) && defined(CONFIG_MAGIC_SYSRQ )#define SUPPORT_SYSRQ
drivers/serial/sunzilog.c +1 -1
@@ -32,11 +32,11 @@#include <linux/serio.h> #endif #include <linux/init.h> +#include <linux/of_device.h> #include <asm/io.h> #include <asm/irq.h> #include <asm/prom.h> -#include <asm/of_device.h> #if defined(CONFIG_SERIAL_SUNZILOG_CONSOLE ) && defined(CONFIG_MAGIC_SYSRQ )#define SUPPORT_SYSRQ
Signature · 6 lines
1.5.6.3 -- Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
From: Stephen Rothwell <[email protected]>
Date: Mon, 11 Aug 2008 16:07:37 +1000
Quoted 1 line
Signed-off-by Stephen Rothwell <[email protected]>
Applied, thanks a lot Stephen.