mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-01 00:50:43 +09:00
GCC4.6: Squash error in pcmcia/i82365.c
i82365.c: In function 'cirrus_set_opts': i82365.c:329: error: 'buf' undeclared (first use in this function) i82365.c:329: error: (Each undeclared identifier is reported only once i82365.c:329: error: for each function it appears in.) Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
3ebafbf697
commit
66d1a2e3bb
@ -272,11 +272,7 @@ static u_int cirrus_set_opts (socket_info_t * s)
|
|||||||
{
|
{
|
||||||
cirrus_state_t *p = &s->c_state;
|
cirrus_state_t *p = &s->c_state;
|
||||||
u_int mask = 0xffff;
|
u_int mask = 0xffff;
|
||||||
#if DEBUG
|
char buf[200] = {0};
|
||||||
char buf[200];
|
|
||||||
|
|
||||||
memset (buf, 0, 200);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (has_ring == -1)
|
if (has_ring == -1)
|
||||||
has_ring = 1;
|
has_ring = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user