From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tor Krill Date: Mon, 17 Mar 2008 21:55:47 +0000 (UTC) Subject: [U-Boot-Users] [PATCH v1 2/5] ATA: Add the libata support In-Reply-To: <1205656425.3656.4.camel@localhost.localdomain> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 3/16/2008, "Dave Liu" wrote: >add simple libata support in u-boot I get a compilation error on libata.c: ---8<---------------------- u-boot/include/libata.h:177: warning: type defaults to 'int' in declaration of 'u16' -----8<-------------------- Seems to be a missing include of "common.h". Adding it to libata.c (or libata.h) fixes the issue. /Tor