mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
drivers/pcmcia/mpc8xx_pcmcia.c: Fix GCC 4.6 build warning
Fix: mpc8xx_pcmcia.c: In function 'pcmcia_on': mpc8xx_pcmcia.c:76:8: warning: variable 'slotbit' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
90357f1493
commit
045a96727b
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
#include <common.h>
|
||||
#include <mpc8xx.h>
|
||||
#include <pcmcia.h>
|
||||
#include <linux/compiler.h>
|
||||
|
||||
#undef CONFIG_PCMCIA
|
||||
|
||||
|
@ -73,8 +74,8 @@ int pcmcia_on (void)
|
|||
{
|
||||
u_long reg, base;
|
||||
pcmcia_win_t *win;
|
||||
u_int slotbit;
|
||||
u_int rc, slot;
|
||||
__maybe_unused u_int slotbit;
|
||||
int i;
|
||||
|
||||
debug ("Enable PCMCIA " PCMCIA_SLOT_MSG "\n");
|
||||
|
|
Loading…
Add table
Reference in a new issue