]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
atmel_lcdfb: Eliminate unneeded #include <asm/arch/hardware.h>
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Mon, 1 Sep 2008 14:21:18 +0000 (16:21 +0200)
committerAnatolij Gustschin <agust@denx.de>
Sat, 25 Oct 2008 18:33:10 +0000 (20:33 +0200)
atmel_lcdfb doesn't actually need anything from asm/arch/hardware.h. It
includes a file that does, asm/arch/gpio.h, but this file doesn't
include <asm/arch/hardware.h> like it's supposed to.

Add the missing include to asm/arch/gpio.h and remove the workaround
from the atmel_lcdfb driver. This makes the driver compile on avr32.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/video/atmel_lcdfb.c
include/asm-arm/arch-at91/gpio.h

index b332a825e30f573c8e707430957268c6a665ab1a..7f0dceb35f69c5c4e1de5fbe33d6993708a90c5e 100644 (file)
@@ -24,7 +24,6 @@
 
 #include <common.h>
 #include <asm/io.h>
-#include <asm/arch/hardware.h>
 #include <asm/arch/gpio.h>
 #include <asm/arch/clk.h>
 #include <lcd.h>
index c4d7b971beb8e7e562382eeea5e0b5509f2a649d..e2d375b34c85da216cbaeb24111f8c954e36504f 100644 (file)
@@ -16,6 +16,7 @@
 #include <asm/io.h>
 #include <asm/errno.h>
 #include <asm/arch/at91_pio.h>
+#include <asm/arch/hardware.h>
 
 #define PIN_BASE               32