From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus =?utf-8?Q?Klotzb=C3=BCcher?= Date: Wed, 26 Mar 2008 18:34:07 +0100 Subject: [U-Boot-Users] [PATCH] Fix compilation error in cmd_usb.c In-Reply-To: <47EA7E30.20109@denx.de> (Anatolij Gustschin's message of "Wed\, 26 Mar 2008 17\:47\:44 +0100") References: <47EA7E30.20109@denx.de> Message-ID: <87abkl2xv4.fsf@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Anatolij, Anatolij Gustschin writes: > This patch fixes compilation error > cmd_usb.c: In function 'do_usb': > cmd_usb.c:552: error: void value not ignored as it ought to be > > Signed-off-by: Anatolij Gustschin > --- > include/usb.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/usb.h b/include/usb.h > index 4e1539f..5a6ffdd 100644 > --- a/include/usb.h > +++ b/include/usb.h > @@ -195,7 +195,7 @@ void usb_event_poll(void); > #define USB_MAX_STOR_DEV 5 > block_dev_desc_t *usb_stor_get_dev(int index); > int usb_stor_scan(int mode); > -void usb_stor_info(void); > +int usb_stor_info(void); > > #endif Argh, thanks for pointing out. This was actually part of the original patch but for some reason it got lost. Good to see somebody is actually testing this :-) Best regards Markus Klotzbuecher -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de