From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Behme Subject: Broken uwire usage in lcd_p2.c, was: Unable to compile Linux 2.6.21 from source.mvista.com Date: Mon, 07 May 2007 16:39:35 +0200 Message-ID: <463F3A27.3000501@googlemail.com> References: <61445c750705070659v1d2fd55akbd8ed2d1108459f9@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <61445c750705070659v1d2fd55akbd8ed2d1108459f9@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces+gplao-linux-omap-open-source=gmane.org@linux.omap.com Errors-To: linux-omap-open-source-bounces+gplao-linux-omap-open-source=gmane.org@linux.omap.com To: "Pharaoh ." Cc: linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org Pharaoh . wrote: > I am latest 2.6.21 source from source.mvista.com. I am trying to compile > the > kernel for my omap 850 based board. > > I am getting following error: > > 1. make ARCH=arm omap_perseus2_730_defconfig => works well > > 2. make ARCH=arm > > CC drivers/video/omap/lcd_p2.o > drivers/video/omap/lcd_p2.c:151:39: ../drivers/ssi/omap-uwire.h: No such > file or directory > drivers/video/omap/lcd_p2.c: In function `p2_panel_enable': > drivers/video/omap/lcd_p2.c:185: warning: implicit declaration of function > `omap_uwire_configure_mode' > drivers/video/omap/lcd_p2.c:187: warning: implicit declaration of function > `omap_uwire_data_transfer > > > There is no file like ../drivers/ssi/omap-uwire.h, I have checked. Please > enlighten. uwire code moved to drivers/spi. Unfortunately, lcd_p2.c isn't converted to new uwire code yet, see [1]. Do you like to send a patch for this? Looks like lcd_h2.c was converted, maybe this can help. Dirk [1] http://linux.omap.com/pipermail/linux-omap-open-source/2007-March/009254.html