diff options
| author | Javier Martinez Canillas <[email protected]> | 2017-03-28 19:07:38 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-29 10:13:50 +0000 |
| commit | a7f12a21f6b32bdd8d76d3af81eef9e72ce41ec0 (patch) | |
| tree | 654e09fad96b147f4cbc67051240b481cb857f4e /net/unix/garbage.c | |
| parent | xhci: Manually give back cancelled URB if we can't queue it for cancel (diff) | |
| download | kernel-a7f12a21f6b32bdd8d76d3af81eef9e72ce41ec0.tar.gz kernel-a7f12a21f6b32bdd8d76d3af81eef9e72ce41ec0.zip | |
usb: phy: isp1301: Fix build warning when CONFIG_OF is disabled
Commit fd567653bdb9 ("usb: phy: isp1301: Add OF device ID table")
added an OF device ID table, but used the of_match_ptr() macro
that will lead to a build warning if CONFIG_OF symbol is disabled:
drivers/usb/phy//phy-isp1301.c:36:34: warning: ‘isp1301_of_match’ defined but not used [-Wunused-const-variable=]
static const struct of_device_id isp1301_of_match[] = {
^~~~~~~~~~~~~~~~
Fixes: fd567653bdb9 ("usb: phy: isp1301: Add OF device ID table")
Reported-by: Arnd Bergmann <[email protected]>
Signed-off-by: Javier Martinez Canillas <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
