projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix crash on sequoia in ppc_4xx_eth_init
[oweals/u-boot.git]
/
common
/
usb.c
diff --git
a/common/usb.c
b/common/usb.c
index 282c1d97b7434c77ff025369060719327a27814c..4df01eabe513163eeb80475f9495b72ea504ac80 100644
(file)
--- a/
common/usb.c
+++ b/
common/usb.c
@@
-49,11
+49,11
@@
#include <asm/processor.h>
#include <linux/ctype.h>
#include <asm/processor.h>
#include <linux/ctype.h>
-#if
(CONFIG_COMMANDS & CFG_CMD_USB) ||
defined(CONFIG_CMD_USB)
+#if defined(CONFIG_CMD_USB)
#include <usb.h>
#ifdef CONFIG_4xx
#include <usb.h>
#ifdef CONFIG_4xx
-#include <
405gp
_pci.h>
+#include <
asm/4xx
_pci.h>
#endif
#undef USB_DEBUG
#endif
#undef USB_DEBUG
@@
-1247,6
+1247,6
@@
int usb_hub_probe(struct usb_device *dev, int ifnum)
return ret;
}
return ret;
}
-#endif
/* (CONFIG_COMMANDS & CFG_CMD_USB) */
+#endif
/* EOF */
/* EOF */