[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130730143427.9b8560de8d74ed73f0ad561b@canb.auug.org.au>
Date: Tue, 30 Jul 2013 14:34:27 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Felipe Balbi <balbi@...com>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Roger Quadros <rogerq@...com>
Subject: linux-next: build failure after merge of the usb-gadget tree
Hi Felipe,
After merging the usb-gadget tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
drivers/usb/phy/of.c:32:24: error: redefinition of 'of_usb_get_phy_mode'
enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np)
^
In file included from drivers/usb/phy/of.c:13:0:
include/linux/usb/of.h:33:38: note: previous definition of 'of_usb_get_phy_mode' was here
static inline enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np)
^
Caused by commit 052a11d13bde ("usb: phy: make PHY driver selection
possible by controller drivers"). The static inline declaration in
include/linux/usb/of.h is exposed if at least one of CONFIG_OF or
CONFIG_USB_PHY is not set, but drivers/usb/phy/of.c is now built if
CONFIG_OF and CONFIG_USB_SUPPORT is set (it used to require
CONFIG_USB_PHY to be set - see drivers/usb/Makefile). This build has
CONFIG_OF set but CONFIG_USB_PHY not set.
I have used the usb-gadget tree from next-20130729 for today.
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists