diff options
| author | Javier Martinez Canillas <javier@osg.samsung.com> | 2017-03-28 15:07:38 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-22 11:41:17 +0200 |
| commit | 39247301d594f7c6270313dbe857359bb8260c86 (patch) | |
| tree | 33ea96ddadf22c8ad94415366706f3bda2c3605d /include/linux | |
| parent | b24065948ae6c48c9e20891f8cfe9850f1d748be (diff) | |
usb: phy: isp1301: Fix build warning when CONFIG_OF is disabled
commit a7f12a21f6b32bdd8d76d3af81eef9e72ce41ec0 upstream.
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 <arnd@arndb.de>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
