linux-stable/drivers/staging
Arnd Bergmann 2eeefd3787 staging: wfx: avoid compiler warning on empty array
When CONFIG_OF is disabled, gcc-9 produces a warning about the
wfx_sdio_of_match[] array having a declaration without a dimension:

drivers/staging/wfx/bus_sdio.c:159:34: error: array 'wfx_sdio_of_match' assumed to have one element [-Werror]
  159 | static const struct of_device_id wfx_sdio_of_match[];
      |                                  ^~~~~~~~~~~~~~~~~

Move the proper declaration up and out of the #ifdef instead.

Fixes: a7a91ca5a2 ("staging: wfx: add infrastructure for new driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Jerome Pouiller <Jerome.Pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200429142119.1735196-1-arnd@arndb.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-05-05 12:26:43 +02:00
..
android staging: android: ion: Align with parenthesis 2020-04-13 08:55:28 +02:00
axis-fifo staging: axis-fifo: Fix parenthesis alignment 2020-04-13 08:55:30 +02:00
board
clocking-wizard
comedi Staging: comedi: drivers: ni_pcimio: Fix variable name 2020-05-05 12:26:43 +02:00
emxx_udc
fbtft staging: fbtft: Avoid potential precedence issues 2020-03-17 12:47:24 +01:00
fieldbus
fsl-dpaa2 staging: fsl-dpaa2: ethsw: Fix parenthesis alignment 2020-04-13 08:55:30 +02:00
fwserial
gasket Merge 5.7-rc3 into staging-next 2020-04-27 12:20:40 +02:00
gdm724x staging: gdm724x: remove redundant assignment to pointer 'w' 2020-04-13 08:55:31 +02:00
goldfish
greybus staging: greybus: fix a missing-check bug in gb_lights_light_config() 2020-04-13 08:55:26 +02:00
gs_fpgaboot
iio First set of new IIO device support, features and cleanup for the 5.8 cycle 2020-04-23 11:06:48 +02:00
kpc2000 Staging: kpc2000: kpc_dma: Use spaces around operators. 2020-03-25 19:38:40 +01:00
ks7010 staging: ks7010: remove line over 80 characters 2020-03-10 10:15:23 +01:00
media Staging/IIO driver patches for 5.7-rc1 2020-03-30 14:20:41 -07:00
most staging: most: usb: consolidate code 2020-05-05 12:17:59 +02:00
mt7621-dma staging: mt7621-dma: quoted string split across lines 2020-03-21 10:31:54 +01:00
mt7621-dts staging: mt7621-pci: fix PCIe interrupt mapping 2020-04-13 14:49:18 +02:00
mt7621-pci staging: mt7621-pci: initialize 'n' variable when it is declared 2020-04-16 12:33:02 +02:00
mt7621-pci-phy staging: mt7621-pci-phy: dt: bindings: remove bindings txt file 2020-04-13 14:49:17 +02:00
mt7621-pinctrl staging: mt7621-pinctrl: Use correct pointer type argument for sizeof 2020-04-23 13:36:20 +02:00
netlogic
nvec
octeon staging/octeon: fix up merge error 2020-03-30 17:22:01 -07:00
octeon-usb staging: Replace zero-length array with flexible-array member 2020-02-23 19:18:54 +01:00
olpc_dcon
pi433 staging: pi433: overlay: Convert to sugar syntax 2020-02-23 19:20:49 +01:00
qlge staging: qlge: Fix function argument alignment warning in ql_init_device 2020-05-05 12:20:40 +02:00
ralink-gdma
rtl8188eu staging: rtl8188eu: remove some superfluous comments 2020-04-28 14:19:13 +02:00
rtl8192e staging: rtl8192e: rtl8192e: Correct misspelt variable name 2020-04-13 08:55:31 +02:00
rtl8192u Staging: rtl8192u: ieee80211: Use netdev_alert(). 2020-03-26 16:58:23 +01:00
rtl8712 staging: rtl8712: correct spelling mistake in comment 2020-04-16 12:33:03 +02:00
rtl8723bs staging: rtl8723bs: core: remove set but not used 'pframe' 2020-04-28 14:29:42 +02:00
rts5208 staging: rts5208: shorten long line in func call 2020-03-19 15:11:35 +01:00
sm750fb staging: sm750fb: print error message with actual value 2020-05-05 12:23:29 +02:00
speakup staging/speakup: Add inflection synth parameter 2020-04-28 14:30:10 +02:00
unisys staging: unisys: visorhba: Correct a typo in comment 2020-04-13 08:55:32 +02:00
vc04_services staging: vc04_services: bcm2835-audio: Make function arguments alignment match open parenthesis 2020-04-16 12:33:49 +02:00
vme
vt6655 Staging: vt6655: Replace camel case variable names. 2020-04-13 08:55:31 +02:00
vt6656 staging: vt6656: Remove duplicate code in vnt_rf_table_download 2020-04-28 14:26:29 +02:00
wfx staging: wfx: avoid compiler warning on empty array 2020-05-05 12:26:43 +02:00
wilc1000 staging: wilc1000: Increase the size of wid_list array 2020-05-05 12:23:28 +02:00
wlan-ng staging: wlan-ng: fix use-after-free Read in hfa384x_usbin_callback 2020-03-26 15:47:26 +01:00
Kconfig staging: remove hp100 driver 2020-03-27 10:01:11 +01:00
Makefile staging: remove hp100 driver 2020-03-27 10:01:11 +01:00