linux-stable/drivers/staging
Arnd Bergmann 22e65ed679 greybus: arche-ctrl: move device table to its right location
[ Upstream commit 6a0b8c0da8 ]

The arche-ctrl has two platform drivers and three of_device_id tables,
but one table is only used for the the module loader, while the other
two seem to be associated with their drivers.

This leads to a W=1 warning when the driver is built-in:

drivers/staging/greybus/arche-platform.c:623:34: error: 'arche_combined_id' defined but not used [-Werror=unused-const-variable=]
  623 | static const struct of_device_id arche_combined_id[] = {

Drop the extra table and register both tables that are actually
used as the ones for the module loader instead.

Fixes: 7b62b61c75 ("greybus: arche-ctrl: Don't expose driver internals to arche-platform driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20240403080702.3509288-18-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-16 13:23:32 +02:00
..
android
axis-fifo
board
clocking-wizard
comedi comedi: vmk80xx: fix incomplete endpoint checking 2024-05-02 16:17:09 +02:00
dgnc
emxx_udc
erofs erofs: ensure that the post-EOF tails are all zeroed 2023-09-23 10:47:56 +02:00
fbtft
fsl-dpaa2
fwserial
gasket
gdm724x
goldfish
greybus greybus: arche-ctrl: move device table to its right location 2024-06-16 13:23:32 +02:00
gs_fpgaboot
iio staging: iio: ad5933: fix type mismatch regression 2024-02-23 08:12:57 +01:00
ks7010 staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext() 2023-08-11 11:45:34 +02:00
media
most
mt29f_spinand
mt7621-dma
mt7621-dts
mt7621-eth
mt7621-pci
mt7621-pinctrl pinctrl: ralink: Check for null return of devm_kcalloc 2022-07-29 17:10:31 +02:00
mt7621-spi Revert "spi: mt7621: Fix an error message in mt7621_spi_probe()" 2023-03-17 08:31:43 +01:00
netlogic
nvec
octeon
octeon-usb
olpc_dcon
pi433
rtl8188eu
rtl8192e Revert "staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE" 2023-06-14 10:57:15 +02:00
rtl8192u staging: rtl8192u: Fix use after free in ieee80211_rx() 2023-01-18 11:30:28 +01:00
rtl8712 staging: rtl8712: fix use after free bugs 2022-09-15 12:17:03 +02:00
rtl8723bs staging: rtl8723bs: prevent ->Ssid overflow in rtw_wx_set_scan() 2022-06-06 08:24:20 +02:00
rtlwifi
rts5208
sm750fb
speakup speakup: Fix sizeof() vs ARRAY_SIZE() bug 2024-06-16 13:23:22 +02:00
unisys
vboxvideo
vc04_services staging: vc04_services: fix information leak in create_component() 2024-04-13 12:50:13 +02:00
vme
vt6655 staging: vt6655: fix potential memory leak 2022-10-26 13:19:40 +02:00
vt6656
wilc1000 wifi: wilc1000: sdio: fix module autoloading 2023-01-18 11:30:52 +01:00
wlan-ng
xgifb
Kconfig
Makefile