commit | be99c84300950e876074916b215b511f69f83d3b | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Thu Dec 17 09:55:41 2015 -0600 |
committer | Felipe Balbi <balbi@ti.com> | Thu Dec 17 09:55:41 2015 -0600 |
tree | 27868c86e334c1a8612e797ebf766fbc40723cef | |
parent | b7bd98b7db9fc8fe19da1a5ff0215311c6b95e46 [diff] |
usb: of: fix build breakage on !OF If OF is disabled, we will try to define a stub for of_usb_get_dr_mode_by_phy(), however that missed a static inline annotation which made us redefine the stub over and over again. Fix that. Fixes: 98bfb3946695 ("usb: of: add an api to get dr_mode by the phy node") Signed-off-by: Felipe Balbi <balbi@ti.com>