From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Altenberg Subject: [PATCH] AT91: include atmel_lcdc.h in at91sam926{1,3}_devices.c Date: Wed, 01 Aug 2007 15:22:52 +0200 Message-ID: <1185974572.3854.52.camel@bender.lan> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: , linux-fbdev-devel@lists.sourceforge.net Cc: Linux Kernel list , Haavard Skinnemoen , Jan Altenberg , Patrice Vilchez , Nicolas Ferre Hi all, 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 =E2=80=98at91_add_device_lcdc=E2=80=99: /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: =E2=80=98lcdc_data=E2=80=99 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 --- arch/arm/mach-at91/at91sam9261_devices.c | 2 ++ arch/arm/mach-at91/at91sam9263_devices.c | 2 ++ 2 files changed, 4 insertions(+) Index: linux-2.6/arch/arm/mach-at91/at91sam9261_devices.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- linux-2.6.orig/arch/arm/mach-at91/at91sam9261_devices.c +++ linux-2.6/arch/arm/mach-at91/at91sam9261_devices.c @@ -15,6 +15,8 @@ =20 #include =20 +#include