+ at91-include-atmel_lcdch-in-at91sam92613_devicesc.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     AT91: include atmel_lcdc.h in at91sam926{1,3}_devices.c
has been added to the -mm tree.  Its filename is
     at91-include-atmel_lcdch-in-at91sam92613_devicesc.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: AT91: include atmel_lcdc.h in at91sam926{1,3}_devices.c
From: Jan Altenberg <jan.altenberg@xxxxxxxxxxxxx>

Current git doesn't compile for CONFIG_ARCH_AT91SAM926{1,3} and and
CONFIG_FB_ATMEL enabled, due to a missing inclusion of atmel_lcdc.h:

/home/jan/kernel/git/linux-2.6/arch/arm/mach-at91/at91sam9263_devices.c: In function â??at91_add_device_lcdcâ??:
/home/jan/kernel/git/linux-2.6/arch/arm/mach-at91/at91sam9263_devices.c:688: error: dereferencing pointer to incomplete type
/home/jan/kernel/git/linux-2.6/arch/arm/mach-at91/at91sam9263_devices.c:688: error: â??lcdc_dataâ?? has an incomplete type

This error should also have occured in the past, because atmel_lcdc.h
has never been included.

Signed-off-by: Jan Altenberg <jan.altenberg@xxxxxxxxxxxxx>
Cc: Haavard Skinnemoen <hskinnemoen@xxxxxxxxx>
Cc: Russell King <rmk@xxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/arm/mach-at91/at91sam9261_devices.c |    2 ++
 arch/arm/mach-at91/at91sam9263_devices.c |    2 ++
 2 files changed, 4 insertions(+)

diff -puN arch/arm/mach-at91/at91sam9261_devices.c~at91-include-atmel_lcdch-in-at91sam92613_devicesc arch/arm/mach-at91/at91sam9261_devices.c
--- a/arch/arm/mach-at91/at91sam9261_devices.c~at91-include-atmel_lcdch-in-at91sam92613_devicesc
+++ a/arch/arm/mach-at91/at91sam9261_devices.c
@@ -15,6 +15,8 @@
 
 #include <linux/platform_device.h>
 
+#include <video/atmel_lcdc.h>
+
 #include <asm/arch/board.h>
 #include <asm/arch/gpio.h>
 #include <asm/arch/at91sam9261.h>
diff -puN arch/arm/mach-at91/at91sam9263_devices.c~at91-include-atmel_lcdch-in-at91sam92613_devicesc arch/arm/mach-at91/at91sam9263_devices.c
--- a/arch/arm/mach-at91/at91sam9263_devices.c~at91-include-atmel_lcdch-in-at91sam92613_devicesc
+++ a/arch/arm/mach-at91/at91sam9263_devices.c
@@ -14,6 +14,8 @@
 
 #include <linux/platform_device.h>
 
+#include <video/atmel_lcdc.h>
+
 #include <asm/arch/board.h>
 #include <asm/arch/gpio.h>
 #include <asm/arch/at91sam9263.h>
_

Patches currently in -mm which might be from jan.altenberg@xxxxxxxxxxxxx are

at91-include-atmel_lcdch-in-at91sam92613_devicesc.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux