- 积分
- 28
贡献118
飞刀25 FD
注册时间2021-7-21
在线时间4 小时
扫一扫,手机访问本帖
|
报错信息:
./include/linux/phy/omap_control_phy.h:46:2: error: redeclaration of enumerator 'USB_MODE_HOST'
USB_MODE_HOST,
^
In file included from ./include/linux/usb/otg.h:14:0,
from ./include/linux/phy/omap_usb.h:23,
from drivers/phy/ti/phy-omap-usb2.c:24:
./include/linux/usb/phy.h:69:2: note: previous definition of 'USB_MODE_HOST' was here
USB_MODE_HOST,
^
In file included from drivers/phy/ti/phy-omap-usb2.c:30:0:
./include/linux/phy/omap_control_phy.h:47:2: error: redeclaration of enumerator 'USB_MODE_DEVICE'
USB_MODE_DEVICE,
^
In file included from ./include/linux/usb/otg.h:14:0,
from ./include/linux/phy/omap_usb.h:23,
from drivers/phy/ti/phy-omap-usb2.c:24:
./include/linux/usb/phy.h:70:2: note: previous definition of 'USB_MODE_DEVICE' was here
USB_MODE_DEVICE,
^
scripts/Makefile.build:328: recipe for target 'drivers/phy/ti/phy-omap-usb2.o' failed
make[4]: *** [drivers/phy/ti/phy-omap-usb2.o] Error 1
scripts/Makefile.build:587: recipe for target 'drivers/phy/ti' failed
make[3]: *** [drivers/phy/ti] Error 2
scripts/Makefile.build:587: recipe for target 'drivers/phy' failed
|
|