aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/spi/spi-omap2-mcspi.c
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2011-05-23 13:32:11 -0700
committerJohn Stultz <john.stultz@linaro.org>2011-05-23 13:32:11 -0700
commit86ff9baadf16c8a1b452d72f5585be63457d9b15 (patch)
tree24e79b267dba9b906323614e30af12838e9525a2 /drivers/spi/spi-omap2-mcspi.c
parentptp: Added a clock driver for the National Semiconductor PHYTER. (diff)
downloadwireguard-linux-86ff9baadf16c8a1b452d72f5585be63457d9b15.tar.xz
wireguard-linux-86ff9baadf16c8a1b452d72f5585be63457d9b15.zip
ptp: Fix dp83640 build warning when building statically
If the dp83640 driver is not built as a module, the MODULE_DEVICE_TABLE reference to dp83640_tbl nops out. Since the table isn't referenced elsewhere, it it causes the following warning: drivers/net/phy/dp83640.c:1095: warning: ‘dp83640_tbl’ defined but not used This apparently is common with mdio_device_id table structures, and is avoided by using __maybe_unused annotation. Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'drivers/spi/spi-omap2-mcspi.c')
0 files changed, 0 insertions, 0 deletions