treewide: add MODULE_DEVICE_TABLE markers
Subsystems (87)
PATCH 1/1 treewide: add MODULE_DEVICE_TABLE markers
Syncing device trees with Linux upstream can lead to breakage, when the device trees are switched to newer bindings, which are not yet supported in barebox. To make it easier to spot such issues, we want to start applying some heuristics to flag possibly problematic DT changes.
One step towards being able to do that is to know what nodes barebox actually consumes. Most of the nodes have a compatible entry, which is matched by an array of of_device_id, so let's have MODULE_DEVICE_TABLE point at it for future extraction.
--- arch/arm/boards/phytec-phycore-stm32mp1/board.c | 1 + arch/arm/boards/pine64-quartz64/board.c | 1 + arch/arm/boards/protonic-imx8m/board.c | 1 + arch/arm/boards/sama5d3_xplained/board.c | 1 + arch/arm/boards/seeed-odyssey/board.c | 1 + arch/arm/boards/skov-arm9cpu/board.c | 1 + arch/arm/boards/stm32mp15x-ev1/board.c | 1 + arch/arm/boards/tqma6ulx/board.c | 1 + arch/arm/boards/vexpress/init.c | 1 + arch/arm/boards/webasto-ccbv2/board.c | 1 + arch/arm/cpu/psci-client.c | 1 + arch/arm/mach-at91/at91sam9_rst.c | 1 + arch/arm/mach-at91/ddramc.c | 1 + arch/arm/mach-clps711x/clock.c | 1 + arch/arm/mach-clps711x/common.c | 1 + arch/arm/mach-imx/esdctl.c | 1 + arch/arm/mach-imx/iim.c | 1 + arch/arm/mach-imx/src.c | 1 + arch/arm/mach-mvebu/armada-370-xp.c | 1 + arch/arm/mach-mvebu/common.c | 1 + arch/arm/mach-mxs/ocotp.c | 1 + arch/arm/mach-omap/am33xx_scrm.c | 1 + arch/arm/mach-rockchip/dmc.c | 1 + arch/arm/mach-stm32mp/ddrctrl.c | 1 + arch/arm/mach-tegra/tegra20-pmc.c | 1 + arch/arm/mach-tegra/tegra20-timer.c | 1 + arch/arm/mach-zynqmp/firmware-zynqmp.c | 1 + arch/kvx/lib/poweroff.c | 1 + arch/mips/mach-ath79/art.c | 1 + arch/riscv/boards/beaglev/board.c | 1 + arch/riscv/cpu/core.c | 1 + arch/sandbox/board/hostfile.c | 1 + arch/sandbox/board/led.c | 1 + arch/sandbox/board/power.c | 1 + arch/sandbox/board/watchdog.c | 1 + drivers/aiodev/am335x_adc.c | 1 + drivers/aiodev/imx7d_adc.c | 1 + drivers/aiodev/imx_thermal.c | 1 + drivers/aiodev/qoriq_thermal.c | 1 + drivers/aiodev/rockchip_saradc.c | 1 + drivers/aiodev/st_gyro.c | 1 + drivers/aiodev/stm32-adc-core.c | 1 + drivers/aiodev/stm32-adc.c | 1 + drivers/ata/ahci.c | 1 + drivers/ata/intf_platform_ide.c | 1 + drivers/ata/pata-imx.c | 1 + drivers/ata/sata-imx.c | 1 + drivers/ata/sata_mv.c | 1 + drivers/bus/imx-weim.c | 1 + drivers/bus/mvebu-mbus.c | 1 + drivers/bus/omap-gpmc.c | 1 + drivers/bus/ti-sysc.c | 1 + drivers/clk/at91/pmc.c | 1 + drivers/clk/bcm/clk-bcm2835-aux.c | 1 + drivers/clk/clk-ar933x.c | 1 + drivers/clk/clk-ar9344.c | 1 + drivers/clk/clk-gpio.c | 1 + drivers/clk/clk-rpi.c | 1 + drivers/clk/clk-stm32f4.c | 1 + drivers/clk/clk-stm32mp1.c | 1 + drivers/clk/imx/clk-imx1.c | 1 + drivers/clk/imx/clk-imx21.c | 1 + drivers/clk/imx/clk-imx25.c | 1 + drivers/clk/imx/clk-imx27.c | 1 + drivers/clk/imx/clk-imx31.c | 1 + drivers/clk/imx/clk-imx35.c | 1 + drivers/clk/imx/clk-imx5.c | 3 +++ drivers/clk/imx/clk-imx6.c | 1 + drivers/clk/imx/clk-imx6sl.c | 1 + drivers/clk/imx/clk-imx6sx.c | 1 + drivers/clk/imx/clk-imx6ul.c | 1 + drivers/clk/imx/clk-imx7.c | 1 + drivers/clk/loongson/clk-ls1b200.c | 1 + drivers/clk/mvebu/common.c | 2 ++ drivers/clk/mvebu/corediv.c | 1 + drivers/clk/mxs/clk-imx23.c | 1 + drivers/clk/mxs/clk-imx28.c | 1 + drivers/clk/rockchip/clk-rk3399.c | 1 + drivers/clk/rockchip/clk-rk3568.c | 1 + drivers/clk/rockchip/clk-rk3588.c | 1 + drivers/clk/sifive/sifive-prci.c | 1 + drivers/clk/socfpga/clk.c | 1 + drivers/clk/starfive/jh7100-clkgen.c | 1 + drivers/clk/tegra/clk-tegra124.c | 1 + drivers/clk/tegra/clk-tegra20.c | 1 + drivers/clk/tegra/clk-tegra30.c | 1 + drivers/clk/zynq/clkc.c | 1 + drivers/clk/zynqmp/clkc.c | 1 + drivers/clocksource/arm_architected_timer.c | 1 + drivers/clocksource/arm_global_timer.c | 1 + drivers/clocksource/arm_smp_twd.c | 1 + drivers/clocksource/armv7m_systick.c | 1 + drivers/clocksource/bcm2835.c | 1 + drivers/clocksource/clps711x.c | 1 + drivers/clocksource/digic.c | 1 + drivers/clocksource/dw_apb_timer.c | 1 + drivers/clocksource/kvx_timer.c | 1 + drivers/clocksource/mvebu.c | 1 + drivers/clocksource/orion.c | 1 + drivers/clocksource/rk_timer.c | 1 + drivers/clocksource/timer-atmel-pit.c | 1 + drivers/clocksource/timer-clint.c | 1 + drivers/clocksource/timer-imx-gpt.c | 1 + drivers/clocksource/timer-stm32.c | 1 + drivers/clocksource/timer-ti-32k.c | 1 + drivers/clocksource/timer-ti-dm.c | 1 + drivers/clocksource/uemd.c | 1 + drivers/crypto/caam/ctrl.c | 1 + drivers/crypto/imx-scc/scc.c | 1 + drivers/dma/apbh_dma.c | 1 + drivers/eeprom/at25.c | 1 + drivers/firmware/altera_serial.c | 1 + drivers/firmware/arm_scmi/driver.c | 1 + drivers/firmware/qemu_fw_cfg.c | 1 + drivers/firmware/socfpga.c | 1 + drivers/firmware/zynqmp-fpga.c | 1 + drivers/fpga/socfpga-fpga2sdram-bridge.c | 1 + drivers/fpga/socfpga-hps2fpga-bridge.c | 1 + drivers/gpio/gpio-74xx-mmio.c | 1 + drivers/gpio/gpio-ath79.c | 1 + drivers/gpio/gpio-clps711x.c | 1 + drivers/gpio/gpio-davinci.c | 1 + drivers/gpio/gpio-digic.c | 1 + drivers/gpio/gpio-dw.c | 1 + drivers/gpio/gpio-generic.c | 1 + drivers/gpio/gpio-imx.c | 1 + drivers/gpio/gpio-jz4740.c | 1 + drivers/gpio/gpio-latch.c | 1 + drivers/gpio/gpio-libftdi1.c | 1 + drivers/gpio/gpio-malta-fpga-i2c.c | 1 + drivers/gpio/gpio-mpc8xxx.c | 1 + drivers/gpio/gpio-mxs.c | 1 + drivers/gpio/gpio-omap.c | 1 + drivers/gpio/gpio-orion.c | 1 + drivers/gpio/gpio-pca953x.c | 1 + drivers/gpio/gpio-pcf857x.c | 1 + drivers/gpio/gpio-raspberrypi-exp.c | 1 + drivers/gpio/gpio-rockchip.c | 1 + drivers/gpio/gpio-sifive.c | 1 + drivers/gpio/gpio-starfive-vic.c | 1 + drivers/gpio/gpio-sx150x.c | 1 + drivers/gpio/gpio-tegra.c | 1 + drivers/gpio/gpio-vf610.c | 1 + drivers/gpio/gpio-zynq.c | 1 + drivers/hw_random/mxc-rngc.c | 1 + drivers/hw_random/starfive-vic-rng.c | 1 + drivers/hw_random/stm32-rng.c | 1 + drivers/i2c/busses/i2c-at91.c | 1 + drivers/i2c/busses/i2c-bcm283x.c | 1 + drivers/i2c/busses/i2c-cadence.c | 1 + drivers/i2c/busses/i2c-designware.c | 1 + drivers/i2c/busses/i2c-gpio.c | 1 + drivers/i2c/busses/i2c-imx.c | 1 + drivers/i2c/busses/i2c-mv64xxx.c | 1 + drivers/i2c/busses/i2c-omap.c | 1 + drivers/i2c/busses/i2c-rockchip.c | 1 + drivers/i2c/busses/i2c-stm32.c | 1 + drivers/i2c/busses/i2c-tegra.c | 1 + drivers/i2c/busses/i2c-versatile.c | 1 + drivers/input/gpio_keys.c | 1 + drivers/input/imx_keypad.c | 1 + drivers/led/led-gpio.c | 1 + drivers/led/led-pca955x.c | 1 + drivers/led/led-pwm.c | 1 + drivers/mci/arasan-sdhci.c | 1 + drivers/mci/atmel-sdhci.c | 1 + drivers/mci/atmel_mci.c | 1 + drivers/mci/bcm2835-sdhost.c | 1 + drivers/mci/dove-sdhci.c | 1 + drivers/mci/dw_mmc.c | 1 + drivers/mci/imx-esdhc.c | 1 + drivers/mci/imx.c | 1 + drivers/mci/mci-bcm2835.c | 1 + drivers/mci/mci_spi.c | 1 + drivers/mci/mxs.c | 1 + drivers/mci/omap_hsmmc.c | 1 + drivers/mci/rockchip-dwcmshc-sdhci.c | 1 + drivers/mci/tegra-sdmmc.c | 1 + drivers/memory/atmel-ebi.c | 1 + drivers/memory/mc-tegra124.c | 1 + drivers/mfd/atmel-flexcom.c | 1 + drivers/mfd/atmel-smc.c | 1 + drivers/mfd/axp20x-i2c.c | 1 + drivers/mfd/da9053.c | 1 + drivers/mfd/da9063.c | 1 + drivers/mfd/mc13xxx.c | 1 + drivers/mfd/mc34704.c | 1 + drivers/mfd/rave-sp.c | 1 + drivers/mfd/rk808.c | 1 + drivers/mfd/rn5t568.c | 1 + drivers/mfd/stm32-timers.c | 1 + drivers/mfd/stpmic1.c | 1 + drivers/misc/sram.c | 1 + drivers/misc/starfive-pwrseq.c | 1 + drivers/misc/state.c | 1 + drivers/misc/storage-by-uuid.c | 1 + drivers/misc/ubootvar.c | 1 + drivers/mtd/devices/m25p80.c | 1 + drivers/mtd/devices/mtd_dataflash.c | 1 + drivers/mtd/devices/mtdram.c | 1 + drivers/mtd/nand/atmel/pmecc.c | 1 + drivers/mtd/nand/nand_denali_dt.c | 1 + drivers/mtd/nand/nand_fsl_ifc.c | 1 + drivers/mtd/nand/nand_imx.c | 1 + drivers/mtd/nand/nand_mrvl_nfc.c | 1 + drivers/mtd/nand/nand_mxs.c | 1 + drivers/mtd/nand/nand_orion.c | 1 + drivers/mtd/nand/omap_elm.c | 1 + drivers/mtd/nor/cfi_flash.c | 1 + drivers/mtd/spi-nor/cadence-quadspi.c | 1 + drivers/net/ag71xx.c | 1 + drivers/net/arc_emac.c | 1 + drivers/net/bcmgenet.c | 1 + drivers/net/cpsw.c | 2 ++ drivers/net/davinci_emac.c | 2 ++ drivers/net/designware_generic.c | 1 + drivers/net/designware_imx8.c | 1 + drivers/net/designware_rockchip.c | 1 + drivers/net/designware_socfpga.c | 1 + drivers/net/designware_starfive.c | 1 + drivers/net/designware_stm32.c | 1 + drivers/net/designware_tegra186.c | 1 + drivers/net/dm9k.c | 1 + drivers/net/enc28j60.c | 1 + drivers/net/ethoc.c | 1 + drivers/net/fec_imx.c | 1 + drivers/net/fsl-fman.c | 5 +++++ drivers/net/ksz8873.c | 1 + drivers/net/ksz9477.c | 1 + drivers/net/liteeth.c | 1 + drivers/net/macb.c | 1 + drivers/net/mvneta.c | 1 + drivers/net/orion-gbe.c | 1 + drivers/net/phy/mdio-gpio.c | 1 + drivers/net/phy/mdio-mux-gpio.c | 1 + drivers/net/phy/mdio-mvebu.c | 1 + drivers/net/phy/mv88e6xxx/chip.c | 1 + drivers/net/realtek-dsa/realtek-mdio.c | 1 + drivers/net/realtek-dsa/realtek-smi.c | 1 + drivers/net/sja1105.c | 1 + drivers/net/smc91111.c | 2 ++ drivers/net/smc911x.c | 1 + drivers/nvmem/bsec.c | 1 + drivers/nvmem/eeprom_93xx46.c | 1 + drivers/nvmem/kvx-otp-nv.c | 1 + drivers/nvmem/ocotp.c | 1 + drivers/nvmem/rave-sp-eeprom.c | 1 + drivers/nvmem/rmem.c | 1 + drivers/nvmem/snvs_lpgpr.c | 1 + drivers/nvmem/starfive-otp.c | 1 + drivers/of/barebox.c | 1 + drivers/of/base.c | 2 ++ drivers/pci/pci-ecam-generic.c | 1 + drivers/pci/pci-imx6.c | 1 + drivers/pci/pci-layerscape.c | 1 + drivers/pci/pci-mvebu.c | 1 + drivers/pci/pci-tegra.c | 1 + drivers/pci/pcie-dw-rockchip.c | 1 + drivers/phy/freescale/phy-fsl-imx8mq-usb.c | 1 + drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 1 + drivers/phy/rockchip/phy-rockchip-naneng-combphy.c | 1 + drivers/phy/usb-nop-xceiv.c | 1 + drivers/pinctrl/imx-iomux-v1.c | 1 + drivers/pinctrl/imx-iomux-v2.c | 1 + drivers/pinctrl/imx-iomux-v3.c | 1 + drivers/pinctrl/mvebu/armada-370.c | 1 + drivers/pinctrl/mvebu/armada-xp.c | 1 + drivers/pinctrl/mvebu/dove.c | 1 + drivers/pinctrl/mvebu/kirkwood.c | 1 + drivers/pinctrl/pinctrl-at91-pio4.c | 1 + drivers/pinctrl/pinctrl-at91.c | 2 ++ drivers/pinctrl/pinctrl-bcm2835.c | 1 + drivers/pinctrl/pinctrl-mxs.c | 1 + drivers/pinctrl/pinctrl-rockchip.c | 1 + drivers/pinctrl/pinctrl-single.c | 1 + drivers/pinctrl/pinctrl-stm32.c | 1 + drivers/pinctrl/pinctrl-tegra-xusb.c | 1 + drivers/pinctrl/pinctrl-tegra20.c | 1 + drivers/pinctrl/pinctrl-tegra30.c | 1 + drivers/pinctrl/pinctrl-vf610.c | 1 + drivers/power/reset/gpio-poweroff.c | 1 + drivers/power/reset/gpio-restart.c | 1 + drivers/power/reset/htif-poweroff.c | 1 + drivers/power/reset/nvmem-reboot-mode.c | 1 + drivers/power/reset/syscon-poweroff.c | 1 + drivers/power/reset/syscon-reboot-mode.c | 1 + drivers/power/reset/syscon-reboot.c | 1 + drivers/pwm/pwm-atmel.c | 1 + drivers/pwm/pwm-imx.c | 1 + drivers/pwm/pwm-mxs.c | 1 + drivers/pwm/pwm-stm32.c | 1 + drivers/regulator/anatop-regulator.c | 1 + drivers/regulator/fixed.c | 1 + drivers/regulator/pfuze.c | 1 + drivers/regulator/stm32-pwr.c | 1 + drivers/regulator/stm32-vrefbuf.c | 1 + drivers/regulator/stpmic1_regulator.c | 1 + drivers/remoteproc/imx_rproc.c | 1 + drivers/remoteproc/stm32_rproc.c | 1 + drivers/reset/reset-imx7.c | 1 + drivers/reset/reset-simple.c | 1 + drivers/reset/reset-socfpga.c | 1 + drivers/reset/reset-starfive-vic.c | 1 + drivers/rtc/rtc-imxdi.c | 1 + drivers/rtc/rtc-jz4740.c | 1 + drivers/serial/atmel.c | 1 + drivers/serial/serial_ar933x.c | 1 + drivers/serial/serial_auart.c | 1 + drivers/serial/serial_cadence.c | 1 + drivers/serial/serial_clps711x.c | 1 + drivers/serial/serial_digic.c | 1 + drivers/serial/serial_imx.c | 1 + drivers/serial/serial_litex.c | 1 + drivers/serial/serial_lpuart.c | 1 + drivers/serial/serial_ns16550.c | 1 + drivers/serial/serial_sifive.c | 1 + drivers/serial/serial_stm32.c | 1 + drivers/serial/stm-serial.c | 1 + drivers/soc/imx/gpcv2.c | 1 + drivers/soc/kvx/kvx_socinfo.c | 1 + drivers/soc/rockchip/io-domain.c | 1 + drivers/soc/sifive/sifive_l2_cache.c | 1 + drivers/sound/gpio-beeper.c | 1 + drivers/sound/pwm-beeper.c | 1 + drivers/sound/sdl.c | 1 + drivers/spi/ath79_spi.c | 1 + drivers/spi/atmel-quadspi.c | 1 + drivers/spi/atmel_spi.c | 1 + drivers/spi/dspi_spi.c | 1 + drivers/spi/gpio_spi.c | 1 + drivers/spi/imx_spi.c | 1 + drivers/spi/litex_spiflash.c | 1 + drivers/spi/mvebu_spi.c | 1 + drivers/spi/omap3_spi.c | 1 + drivers/spi/spi-fsl-dspi.c | 1 + drivers/spi/spi-fsl-qspi.c | 1 + drivers/spi/spi-nxp-fspi.c | 1 + drivers/spi/spi-sifive.c | 1 + drivers/spi/stm32_spi.c | 1 + drivers/spi/zynq_qspi.c | 1 + drivers/usb/dwc2/dwc2.c | 1 + drivers/usb/dwc3/core.c | 1 + drivers/usb/dwc3/dwc3-of-simple.c | 1 + drivers/usb/gadget/udc/at91_udc.c | 1 + drivers/usb/host/ehci-atmel.c | 1 + drivers/usb/host/ehci-hcd.c | 1 + drivers/usb/host/ohci-at91.c | 1 + drivers/usb/imx/chipidea-imx.c | 1 + drivers/usb/imx/imx-usb-misc.c | 1 + drivers/usb/imx/imx-usb-phy.c | 1 + drivers/usb/misc/onboard_usb_hub.h | 1 + drivers/usb/misc/usb251xb.c | 1 + drivers/usb/musb/musb_am335x.c | 1 + drivers/usb/musb/musb_dsps.c | 1 + drivers/usb/musb/phy-am335x-control.c | 1 + drivers/usb/musb/phy-am335x.c | 1 + drivers/video/atmel_lcdfb.c | 1 + drivers/video/backlight-pwm.c | 1 + drivers/video/imx-ipu-v3/imx-hdmi.c | 1 + drivers/video/imx-ipu-v3/imx-ldb.c | 1 + drivers/video/imx-ipu-v3/imx-pd.c | 1 + drivers/video/imx-ipu-v3/ipu-common.c | 1 + drivers/video/panel-ilitek-ili9341.c | 1 + drivers/video/rave-sp-backlight.c | 1 + drivers/video/simple-panel.c | 1 + drivers/video/simplefb-client.c | 1 + drivers/video/ssd1307fb.c | 1 + drivers/video/stm.c | 1 + drivers/video/stm32_ltdc.c | 1 + drivers/virtio/virtio_mmio.c | 1 + drivers/w1/masters/w1-gpio.c | 1 + drivers/watchdog/ar9344_wdt.c | 1 + drivers/watchdog/at91sam9_wdt.c | 1 + drivers/watchdog/bcm2835_wdt.c | 1 + drivers/watchdog/davinci_wdt.c | 1 + drivers/watchdog/dw_wdt.c | 1 + drivers/watchdog/gpio_wdt.c | 1 + drivers/watchdog/im28wd.c | 1 + drivers/watchdog/imxwd.c | 1 + drivers/watchdog/jz4740.c | 1 + drivers/watchdog/kvx_wdt.c | 1 + drivers/watchdog/omap_wdt.c | 1 + drivers/watchdog/orion_wdt.c | 1 + drivers/watchdog/rave-sp-wdt.c | 1 + drivers/watchdog/rn5t568_wdt.c | 1 + drivers/watchdog/starfive_wdt.c | 1 + drivers/watchdog/stm32_iwdg.c | 1 + drivers/watchdog/stpmic1_wdt.c | 1 + fs/pstore/ram.c | 1 + 389 files changed, 401 insertions(+)
arch/arm/boards/phytec-phycore-stm32mp1/board.c +1 -0
@@ -19,6 +19,7 @@ static const struct of_device_id phycore_stm32mp1_of_match[] = { { .compatible = "phytec,phycore-stm32mp1-3" }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, phycore_stm32mp1_of_match);static struct driver phycore_stm32mp1_board_driver = { .name ="board-phycore-stm32mp1" ,
arch/arm/boards/pine64-quartz64/board.c +1 -0
@@ -31,6 +31,7 @@ static const struct of_device_id quartz64_of_match[] = { }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, quartz64_of_match);static struct driver quartz64_board_driver = { .name ="board-quartz64" ,
arch/arm/boards/protonic-imx8m/board.c +1 -0
@@ -75,6 +75,7 @@ static const struct of_device_id prt_imx8mm_of_match[] = { { .compatible = "prt,prt8mm", }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, prt_imx8mm_of_match);static struct driver prt_prt8mm_board_driver = { .name ="board-protonic-imx8mm" ,
arch/arm/boards/sama5d3_xplained/board.c +1 -0
@@ -64,6 +64,7 @@ static const struct of_device_id sama5d3_xplained_of_match[] = { { .compatible = "atmel,sama5d3-xplained" }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, sama5d3_xplained_of_match);static struct driver sama5d3_xplained_board_driver = { .name ="board-sama5d3_xplained" ,
arch/arm/boards/seeed-odyssey/board.c +1 -0
@@ -31,6 +31,7 @@ static const struct of_device_id odyssey_som_of_match[] = { { .compatible = "seeed,stm32mp157c-odyssey-som" }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, odyssey_som_of_match);static struct driver odyssey_som_driver = { .name ="odyssey-som" ,
arch/arm/boards/skov-arm9cpu/board.c +1 -0
@@ -75,6 +75,7 @@ static __maybe_unused struct of_device_id skov_arm9_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, skov_arm9_ids);static struct driver skov_arm9_driver = { .name ="skov-arm9" ,
arch/arm/boards/stm32mp15x-ev1/board.c +1 -0
@@ -30,6 +30,7 @@ static const struct of_device_id ed1_of_match[] = { { .compatible = "st,stm32mp157c-ed1" }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, ed1_of_match);static struct driver ed1_board_driver = { .name ="board-stm32mp15x-ed1" ,
arch/arm/boards/tqma6ulx/board.c +1 -0
@@ -34,6 +34,7 @@ static const struct of_device_id mba6ulx_of_match[] = { { .compatible = "tq,mba6ulx" }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, mba6ulx_of_match);static struct driver mba6ulx_board_driver = { .name ="board-mba6ulx" ,
arch/arm/boards/vexpress/init.c +1 -0
@@ -77,6 +77,7 @@ static const struct of_device_id vexpress_of_match[] = { { .compatible = "arm,vexpress" }, { /* Sentinel */}, }; +MODULE_DEVICE_TABLE (of, vexpress_of_match);static struct driver vexpress_board_driver = { .name ="board-vexpress" ,
arch/arm/boards/webasto-ccbv2/board.c +1 -0
@@ -54,6 +54,7 @@ static const struct of_device_id ccbv2_of_match[] = { { .compatible = "webasto,imx6ul-marvel" }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, ccbv2_of_match);static struct driver ccbv2_board_driver = { .name ="board-imx6ul-ccbv2" ,
arch/arm/cpu/psci-client.c +1 -0
@@ -181,6 +181,7 @@ static __maybe_unused struct of_device_id psci_dt_ids[] = { { .compatible = "arm,psci-1.0", .data = (void*)ARM_PSCI_VER(1,0) }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, psci_dt_ids);static struct driver psci_driver = { .name ="psci" ,
arch/arm/mach-at91/at91sam9_rst.c +1 -0
@@ -93,6 +93,7 @@ static const __maybe_unused struct of_device_id at91sam9x_rst_dt_ids[] = { { .compatible = "atmel,sama5d3-rstc", }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, at91sam9x_rst_dt_ids);static struct driver at91sam9x_rst_driver = { .name ="at91sam9x-rst" ,
arch/arm/mach-at91/ddramc.c +1 -0
@@ -58,6 +58,7 @@ static struct of_device_id sama5_ddr_dt_ids[] = { { .compatible = "atmel,sama5d3-ddramc" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, sama5_ddr_dt_ids);static struct driver sama5_ddr_driver = { .name ="sama5-ddramc" ,
arch/arm/mach-clps711x/clock.c +1 -0
@@ -83,6 +83,7 @@ static const struct of_device_id __maybe_unused clps711x_clk_dt_ids[] = { { .compatible = "cirrus,ep7209-clk", }, { } }; +MODULE_DEVICE_TABLE (of, clps711x_clk_dt_ids);static struct driver clps711x_clk_driver = { .probe = clps711x_clk_probe,
arch/arm/mach-clps711x/common.c +1 -0
@@ -135,6 +135,7 @@ static const struct of_device_id __maybe_unused clps711x_bus_dt_ids[] = { { .compatible = "cirrus,ep7209-bus", }, { } }; +MODULE_DEVICE_TABLE (of, clps711x_bus_dt_ids);static struct driver clps711x_bus_driver = { .name ="clps711x-bus" ,
arch/arm/mach-imx/esdctl.c +1 -0
@@ -744,6 +744,7 @@ static __maybe_unused struct of_device_id imx_esdctl_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_esdctl_dt_ids);static struct driver imx_esdctl_driver = { .name ="imx-esdctl" ,
arch/arm/mach-imx/iim.c +1 -0
@@ -572,6 +572,7 @@ static __maybe_unused struct of_device_id imx_iim_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_iim_dt_ids);static struct driver imx_iim_driver = { .name =DRIVERNAME ,
arch/arm/mach-imx/src.c +1 -0
@@ -37,6 +37,7 @@ static const struct of_device_id imx_src_dt_ids[] = { { .compatible = "fsl,imx51-src", }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, imx_src_dt_ids);static struct driver imx_src_reset_driver = { .name ="imx-src" ,
arch/arm/mach-mvebu/armada-370-xp.c +1 -0
@@ -17,6 +17,7 @@ static const struct of_device_id armada_370_xp_pcie_of_ids[] = { { .compatible = "marvell,armada-370-pcie", }, { }, }; +MODULE_DEVICE_TABLE (of, armada_370_xp_pcie_of_ids);/* * Marvell Armada XP MV78230-A0 incorrectly identifies itself as
arch/arm/mach-mvebu/common.c +1 -0
@@ -57,6 +57,7 @@ static const struct of_device_id mvebu_pcie_of_ids[] = { { .compatible = "marvell,kirkwood-pcie" }, { }, }; +MODULE_DEVICE_TABLE (of, mvebu_pcie_of_ids);static int mvebu_soc_id_init (void ) {
arch/arm/mach-mxs/ocotp.c +1 -0
@@ -215,6 +215,7 @@ static __maybe_unused struct of_device_id mxs_ocotp_compatible[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, mxs_ocotp_compatible);static struct driver mxs_ocotp_driver = { .name =DRIVERNAME ,
arch/arm/mach-omap/am33xx_scrm.c +1 -0
@@ -36,6 +36,7 @@ static __maybe_unused struct of_device_id am33xx_scrm_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, am33xx_scrm_dt_ids);static struct driver am33xx_scrm_driver = { .name ="am33xx-scrm" ,
arch/arm/mach-rockchip/dmc.c +1 -0
@@ -257,6 +257,7 @@ static struct of_device_id rockchip_dmc_dt_ids[] = { }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, rockchip_dmc_dt_ids);static struct driver rockchip_dmc_driver = { .name ="rockchip-dmc" ,
arch/arm/mach-stm32mp/ddrctrl.c +1 -0
@@ -151,6 +151,7 @@ static __maybe_unused struct of_device_id stm32mp1_ddr_dt_ids[] = { { .compatible = "st,stm32mp13-ddr", .data = (void *)2 }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, stm32mp1_ddr_dt_ids);static struct driver stm32mp1_ddr_driver = { .name ="stm32mp1-ddr" ,
arch/arm/mach-tegra/tegra20-pmc.c +1 -0
@@ -237,6 +237,7 @@ static __maybe_unused struct of_device_id tegra20_pmc_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, tegra20_pmc_dt_ids);static struct driver tegra20_pmc_driver = { .probe = tegra20_pmc_probe,
arch/arm/mach-tegra/tegra20-timer.c +1 -0
@@ -98,6 +98,7 @@ static __maybe_unused struct of_device_id tegra20_timer_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, tegra20_timer_dt_ids);static struct driver tegra20_timer_driver = { .probe = tegra20_timer_probe,
arch/arm/mach-zynqmp/firmware-zynqmp.c +1 -0
@@ -630,6 +630,7 @@ static struct of_device_id zynqmp_firmware_id_table[] = { { .compatible = "xlnx,zynqmp-firmware", }, {} }; +MODULE_DEVICE_TABLE (of, zynqmp_firmware_id_table);static struct driver zynqmp_firmware_driver = { .name ="zynqmp_firmware" ,
arch/kvx/lib/poweroff.c +1 -0
@@ -33,6 +33,7 @@ static __maybe_unused struct of_device_id kvx_scall_poweroff_id[] = { }, { } }; +MODULE_DEVICE_TABLE (of, kvx_scall_poweroff_id);static struct driver kvx_scall_poweroff = { .name ="kvx_scall_poweroff" ,
arch/mips/mach-ath79/art.c +1 -0
@@ -96,6 +96,7 @@ static struct of_device_id art_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, art_dt_ids);static struct driver art_driver = { .name ="qca-art" ,
arch/riscv/boards/beaglev/board.c +1 -0
@@ -21,6 +21,7 @@ static const struct of_device_id beaglev_of_match[] = { { .compatible = "beagle,beaglev-starlight-jh7100" }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, beaglev_of_match);static struct driver beaglev_board_driver = { .name ="board-beaglev" ,
arch/riscv/cpu/core.c +1 -0
@@ -98,6 +98,7 @@ static struct of_device_id riscv_dt_ids[] = { { .compatible = "riscv", }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, riscv_dt_ids);static struct driver riscv_driver = { .name ="riscv" ,
arch/sandbox/board/hostfile.c +1 -0
@@ -194,6 +194,7 @@ static __maybe_unused struct of_device_id hostfile_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, hostfile_dt_ids);static struct driver hf_drv = { .name ="hostfile" ,
arch/sandbox/board/led.c +1 -0
@@ -57,6 +57,7 @@ static struct of_device_id sandbox_led_of_ids[] = { { .compatible = "barebox,sandbox-led", }, { } }; +MODULE_DEVICE_TABLE (of, sandbox_led_of_ids);static struct driver sandbox_led_of_driver = { .name ="sandbox-led" ,
arch/sandbox/board/power.c +1 -0
@@ -89,6 +89,7 @@ static __maybe_unused struct of_device_id sandbox_power_dt_ids[] = { { .compatible = "barebox,sandbox-power" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, sandbox_power_dt_ids);static struct driver sandbox_power_drv = { .name ="sandbox-power" ,
arch/sandbox/board/watchdog.c +1 -0
@@ -67,6 +67,7 @@ static __maybe_unused struct of_device_id sandbox_watchdog_dt_ids[] = { { .compatible = "barebox,sandbox-watchdog" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, sandbox_watchdog_dt_ids);static struct driver sandbox_watchdog_drv = { .name ="sandbox-watchdog" ,
drivers/aiodev/am335x_adc.c +1 -0
@@ -174,6 +174,7 @@ static const struct of_device_id of_am335x_adc_match[] = { { .compatible = "ti,am3359-tscadc", }, {/* end */ } }; +MODULE_DEVICE_TABLE (of, of_am335x_adc_match);static struct driver am335x_adc_driver = { .name ="am335x_adc" ,
drivers/aiodev/imx7d_adc.c +1 -0
@@ -295,6 +295,7 @@ static const struct of_device_id imx7d_adc_match[] = { { .compatible = "fsl,imx7d-adc", }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx7d_adc_match);static void imx7d_adc_power_down (struct imx7d_adc *info) {
drivers/aiodev/imx_thermal.c +1 -0
@@ -192,6 +192,7 @@ static const struct of_device_id of_imx_thermal_match[] = { { .compatible = "fsl,imx6sx-tempmon", }, {/* end */ } }; +MODULE_DEVICE_TABLE (of, of_imx_thermal_match);static struct driver imx_thermal_driver = {
drivers/aiodev/qoriq_thermal.c +1 -0
@@ -245,6 +245,7 @@ static const struct of_device_id qoriq_tmu_match[] = { { .compatible = "fsl,imx8mq-tmu",}, {}, }; +MODULE_DEVICE_TABLE (of, qoriq_tmu_match);static struct driver imx_thermal_driver = { .name ="qoriq_thermal" ,
drivers/aiodev/rockchip_saradc.c +1 -0
@@ -188,6 +188,7 @@ static const struct of_device_id of_rockchip_saradc_match[] = { { .compatible = "rockchip,rk3568-saradc", .data = &rk3568_saradc_cfg }, {/* end */ } }; +MODULE_DEVICE_TABLE (of, of_rockchip_saradc_match);static struct driver rockchip_saradc_driver = { .name ="rockchip_saradc" ,
drivers/aiodev/st_gyro.c +1 -0
@@ -113,6 +113,7 @@ static const struct of_device_id st_gyro_match[] = { { .compatible = "st,l3gd20-gyro" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, st_gyro_match);static struct driver st_gyro_driver = { .name ="st_gyro" ,
drivers/aiodev/stm32-adc-core.c +1 -0
@@ -202,6 +202,7 @@ static const struct of_device_id stm32_adc_core_ids[] = { { .compatible = "st,stm32mp1-adc-core" }, {} }; +MODULE_DEVICE_TABLE (of, stm32_adc_core_ids);static struct driver stm32_adc_core_driver = { .name ="stm32-adc-core" ,
drivers/aiodev/stm32-adc.c +1 -0
@@ -367,6 +367,7 @@ static const struct of_device_id stm32_adc_match[] = { { .compatible = "st,stm32mp1-adc", .data = &stm32mp1_adc_cfg }, {} }; +MODULE_DEVICE_TABLE (of, stm32_adc_match);static struct driver stm32_adc_driver = { .name ="stm32-adc" ,
drivers/ata/ahci.c +1 -0
@@ -669,6 +669,7 @@ static __maybe_unused struct of_device_id ahci_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, ahci_dt_ids);static struct driver ahci_driver = { .name ="ahci" ,
drivers/ata/intf_platform_ide.c +1 -0
@@ -144,6 +144,7 @@ static __maybe_unused struct of_device_id platform_ide_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, platform_ide_dt_ids);static struct driver platform_ide_driver = { .name ="ide_intf" ,
drivers/ata/pata-imx.c +1 -0
@@ -201,6 +201,7 @@ static __maybe_unused struct of_device_id imx_pata_dt_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, imx_pata_dt_ids);static struct driver imx_pata_driver = { .name ="imx-pata" ,
drivers/ata/sata-imx.c +1 -0
@@ -158,6 +158,7 @@ static __maybe_unused struct of_device_id imx_sata_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_sata_dt_ids);static struct driver imx_sata_driver = { .name ="imx-sata" ,
drivers/ata/sata_mv.c +1 -0
@@ -215,6 +215,7 @@ static const struct of_device_id mv_sata_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, mv_sata_dt_ids);static struct driver mv_sata_driver = { .name ="mv_sata" ,
drivers/bus/imx-weim.c +1 -0
@@ -64,6 +64,7 @@ static struct of_device_id weim_id_table[] = { }, { } }; +MODULE_DEVICE_TABLE (of, weim_id_table);struct imx_weim {struct device *dev;
drivers/bus/mvebu-mbus.c +1 -0
@@ -483,6 +483,7 @@ static struct of_device_id mvebu_mbus_dt_ids[] = {#endif { }, }; +MODULE_DEVICE_TABLE (of, mvebu_mbus_dt_ids);/* * Public API of the driver
drivers/bus/omap-gpmc.c +1 -0
@@ -652,6 +652,7 @@ static struct of_device_id gpmc_id_table[] = { { .compatible = "ti,am3352-gpmc" }, /* am335x devices */ { } }; +MODULE_DEVICE_TABLE (of, gpmc_id_table);static struct driver gpmc_driver = { .name ="omap-gpmc" ,
drivers/bus/ti-sysc.c +1 -0
@@ -27,6 +27,7 @@ static struct of_device_id ti_sysc_dt_ids[] = { { .compatible = "ti,sysc-omap2",}, { }, }; +MODULE_DEVICE_TABLE (of, ti_sysc_dt_ids);static struct driver ti_sysc_driver = { .name ="ti-sysc" ,
drivers/clk/at91/pmc.c +1 -0
@@ -255,6 +255,7 @@ static const struct of_device_id sama5d2_pmc_dt_ids[] = { { .compatible = "atmel,sama5d2-pmc" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, sama5d2_pmc_dt_ids);static int __init pmc_register_ops (void ) {
drivers/clk/bcm/clk-bcm2835-aux.c +1 -0
@@ -53,6 +53,7 @@ static const struct of_device_id bcm2835_aux_clk_of_match[] = { { .compatible = "brcm,bcm2835-aux", }, {}, }; +MODULE_DEVICE_TABLE (of, bcm2835_aux_clk_of_match);static struct driver bcm2835_aux_clk_driver = { .name ="bcm2835-aux-clk" ,
drivers/clk/clk-ar933x.c +1 -0
@@ -131,6 +131,7 @@ static __maybe_unused struct of_device_id ar933x_clk_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, ar933x_clk_dt_ids);static struct driver ar933x_clk_driver = { .probe = ar933x_clk_probe,
drivers/clk/clk-ar9344.c +1 -0
@@ -126,6 +126,7 @@ static __maybe_unused struct of_device_id ar9344_clk_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, ar9344_clk_dt_ids);static struct driver ar9344_clk_driver = { .probe = ar9344_clk_probe,
drivers/clk/clk-gpio.c +1 -0
@@ -110,6 +110,7 @@ static const struct of_device_id clk_gpio_device_id[] = { { .compatible = "gpio-gate-clock", }, {} }; +MODULE_DEVICE_TABLE (of, clk_gpio_device_id);static struct driver gpio_gate_clock_driver = { .probe = of_gpio_clk_probe,
drivers/clk/clk-rpi.c +1 -0
@@ -96,6 +96,7 @@ static __maybe_unused struct of_device_id bcm2835_cprman_dt_ids[] = { { .compatible = "brcm,bcm2711-cprman" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, bcm2835_cprman_dt_ids);static struct driver bcm2835_cprman_driver = { .probe = rpi_cprman_probe,
drivers/clk/clk-stm32f4.c +1 -0
@@ -1621,6 +1621,7 @@ static const struct of_device_id stm32f4_of_match[] = { }, {} }; +MODULE_DEVICE_TABLE (of, stm32f4_of_match); static struct clk_hw *stm32_register_aux_clk(const char *name, const char * const *parent_names, int num_parents,
drivers/clk/clk-stm32mp1.c +1 -0
@@ -2067,6 +2067,7 @@ static const struct of_device_id stm32mp1_match_data[] = { }, { } }; +MODULE_DEVICE_TABLE (of, stm32mp1_match_data); static int stm32_register_hw_clk(struct device *dev, struct clk_hw_onecell_data *clk_data,
drivers/clk/imx/clk-imx1.c +1 -0
@@ -95,6 +95,7 @@ static __maybe_unused struct of_device_id imx1_ccm_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx1_ccm_dt_ids);static struct driver imx1_ccm_driver = { .probe = imx1_ccm_probe,
drivers/clk/imx/clk-imx21.c +1 -0
@@ -169,6 +169,7 @@ static __maybe_unused struct of_device_id imx21_ccm_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx21_ccm_dt_ids);static struct driver imx21_ccm_driver = { .probe = imx21_ccm_probe,
drivers/clk/imx/clk-imx25.c +1 -0
@@ -183,6 +183,7 @@ static __maybe_unused struct of_device_id imx25_ccm_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx25_ccm_dt_ids);static struct driver imx25_ccm_driver = { .probe = imx25_ccm_probe,
drivers/clk/imx/clk-imx27.c +1 -0
@@ -257,6 +257,7 @@ static __maybe_unused struct of_device_id imx27_ccm_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx27_ccm_dt_ids);static struct driver imx27_ccm_driver = { .probe = imx27_ccm_probe,
drivers/clk/imx/clk-imx31.c +1 -0
@@ -138,6 +138,7 @@ static __maybe_unused struct of_device_id imx31_ccm_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx31_ccm_dt_ids);static struct driver imx31_ccm_driver = { .probe = imx31_ccm_probe,
drivers/clk/imx/clk-imx35.c +1 -0
@@ -201,6 +201,7 @@ static __maybe_unused struct of_device_id imx35_ccm_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx35_ccm_dt_ids);static struct driver imx35_ccm_driver = { .probe = imx35_ccm_probe,
drivers/clk/imx/clk-imx5.c +3 -0
@@ -342,6 +342,7 @@ static __maybe_unused struct of_device_id imx50_ccm_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx50_ccm_dt_ids);static __maybe_unused struct driver imx50_ccm_driver = { .probe = imx50_ccm_probe,
@@ -431,6 +432,7 @@ static __maybe_unused struct of_device_id imx51_ccm_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx51_ccm_dt_ids);static __maybe_unused struct driver imx51_ccm_driver = { .probe = imx51_ccm_probe,
@@ -529,6 +531,7 @@ static __maybe_unused struct of_device_id imx53_ccm_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx53_ccm_dt_ids);static __maybe_unused struct driver imx53_ccm_driver = { .probe = imx53_ccm_probe,
drivers/clk/imx/clk-imx6.c +1 -0
@@ -849,6 +849,7 @@ static __maybe_unused struct of_device_id imx6_ccm_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx6_ccm_dt_ids);static struct driver imx6_ccm_driver = { .probe = imx6_ccm_probe,
drivers/clk/imx/clk-imx6sl.c +1 -0
@@ -308,6 +308,7 @@ static __maybe_unused struct of_device_id imx6sl_ccm_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx6sl_ccm_dt_ids);static struct driver imx6sl_ccm_driver = { .probe = imx6sl_ccm_probe,
drivers/clk/imx/clk-imx6sx.c +1 -0
@@ -462,6 +462,7 @@ static __maybe_unused struct of_device_id imx6sx_ccm_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx6sx_ccm_dt_ids);static struct driver imx6sx_ccm_driver = { .probe = imx6sx_ccm_probe,
drivers/clk/imx/clk-imx6ul.c +1 -0
@@ -461,6 +461,7 @@ static __maybe_unused struct of_device_id imx6_ccm_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx6_ccm_dt_ids);static struct driver imx6_ccm_driver = { .probe = imx6_ccm_probe,
drivers/clk/imx/clk-imx7.c +1 -0
@@ -872,6 +872,7 @@ static __maybe_unused struct of_device_id imx7_ccm_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx7_ccm_dt_ids);static struct driver imx7_ccm_driver = { .probe = imx7_ccm_probe,
drivers/clk/loongson/clk-ls1b200.c +1 -0
@@ -141,6 +141,7 @@ static __maybe_unused struct of_device_id ls1b200_clk_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, ls1b200_clk_dt_ids);static struct driver ls1b200_clk_driver = { .probe = ls1b200_clk_probe,
drivers/clk/mvebu/common.c +2 -0
@@ -38,6 +38,7 @@ static struct of_device_id mvebu_coreclk_ids[] = { .data = &mv88f6180_coreclks }, { } }; +MODULE_DEVICE_TABLE (of, mvebu_coreclk_ids);static int mvebu_coreclk_probe (struct device *dev) {
@@ -147,6 +148,7 @@ static struct of_device_id mvebu_clk_gating_ids[] = { .data = &kirkwood_gating_desc }, { } }; +MODULE_DEVICE_TABLE (of, mvebu_clk_gating_ids);static int mvebu_clk_gating_probe (struct device *dev) {
drivers/clk/mvebu/corediv.c +1 -0
@@ -193,6 +193,7 @@ static struct of_device_id mvebu_corediv_clk_ids[] = { .data = &armada370_corediv_soc }, { } }; +MODULE_DEVICE_TABLE (of, mvebu_corediv_clk_ids);static int mvebu_corediv_clk_probe (struct device *dev) {
drivers/clk/mxs/clk-imx23.c +1 -0
@@ -134,6 +134,7 @@ static __maybe_unused struct of_device_id imx23_ccm_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx23_ccm_dt_ids);static struct driver imx23_ccm_driver = { .probe = imx23_ccm_probe,
drivers/clk/mxs/clk-imx28.c +1 -0
@@ -197,6 +197,7 @@ static __maybe_unused struct of_device_id imx28_ccm_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx28_ccm_dt_ids);static struct driver imx28_ccm_driver = { .probe = imx28_ccm_probe,
drivers/clk/rockchip/clk-rk3399.c +1 -0
@@ -1626,6 +1626,7 @@ static const struct of_device_id clk_rk3399_match_table[] = { }, { } }; +MODULE_DEVICE_TABLE (of, clk_rk3399_match_table);static int __init clk_rk3399_probe (struct device *dev) {
drivers/clk/rockchip/clk-rk3568.c +1 -0
@@ -1718,6 +1718,7 @@ static const struct of_device_id clk_rk3568_match_table[] = { }, { } }; +MODULE_DEVICE_TABLE (of, clk_rk3568_match_table);static int __init clk_rk3568_probe (struct device *dev) {
drivers/clk/rockchip/clk-rk3588.c +1 -0
@@ -2507,6 +2507,7 @@ static const struct of_device_id clk_rk3588_match_table[] = { }, { } }; +MODULE_DEVICE_TABLE (of, clk_rk3588_match_table);static int __init clk_rk3588_probe (struct device *dev) {
drivers/clk/sifive/sifive-prci.c +1 -0
@@ -576,6 +576,7 @@ static const struct of_device_id sifive_prci_of_match[] = { {.compatible = "sifive,fu740-c000-prci", .data = &prci_clk_fu740}, {} }; +MODULE_DEVICE_TABLE (of, sifive_prci_of_match);static struct driver sifive_prci_driver = { .name ="sifive-clk-prci" ,
drivers/clk/socfpga/clk.c +1 -0
@@ -424,6 +424,7 @@ static __maybe_unused struct of_device_id socfpga_ccm_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, socfpga_ccm_dt_ids);static struct driver socfpga_ccm_driver = { .probe = socfpga_ccm_probe,
drivers/clk/starfive/jh7100-clkgen.c +1 -0
@@ -354,6 +354,7 @@ static __maybe_unused struct of_device_id starfive_clkgen_clk_dt_ids[] = { { .compatible = "starfive,jh7100-clkgen" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, starfive_clkgen_clk_dt_ids);static struct driver starfive_clkgen_clk_driver = { .probe = starfive_clkgen_clk_probe,
drivers/clk/tegra/clk-tegra124.c +1 -0
@@ -361,6 +361,7 @@ static __maybe_unused struct of_device_id tegra124_car_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, tegra124_car_dt_ids);static struct driver tegra124_car_driver = { .probe = tegra124_car_probe,
drivers/clk/tegra/clk-tegra20.c +1 -0
@@ -364,6 +364,7 @@ static __maybe_unused struct of_device_id tegra20_car_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, tegra20_car_dt_ids);static struct driver tegra20_car_driver = { .probe = tegra20_car_probe,
drivers/clk/tegra/clk-tegra30.c +1 -0
@@ -392,6 +392,7 @@ static __maybe_unused struct of_device_id tegra30_car_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, tegra30_car_dt_ids);static struct driver tegra30_car_driver = { .probe = tegra30_car_probe,
drivers/clk/zynq/clkc.c +1 -0
@@ -483,6 +483,7 @@ static __maybe_unused struct of_device_id zynq_clock_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, zynq_clock_dt_ids);static struct driver zynq_clock_driver = { .probe = zynq_clock_probe,
drivers/clk/zynqmp/clkc.c +1 -0
@@ -573,6 +573,7 @@ static struct of_device_id zynqmp_clock_of_match[] = { {.compatible = "xlnx,zynqmp-clk"}, {}, }; +MODULE_DEVICE_TABLE (of, zynqmp_clock_of_match);static struct driver zynqmp_clock_driver = { .probe = zynqmp_clock_probe,
drivers/clocksource/arm_architected_timer.c +1 -0
@@ -34,6 +34,7 @@ static struct of_device_id arm_arch_timer_dt_ids[] = { { .compatible = "arm,armv8-timer", }, { } }; +MODULE_DEVICE_TABLE (of, arm_arch_timer_dt_ids);static struct driver arm_arch_timer_driver = { .name ="arm-architected-timer" ,
drivers/clocksource/arm_global_timer.c +1 -0
@@ -103,6 +103,7 @@ static struct of_device_id arm_global_timer_dt_ids[] = { { .compatible = "arm,cortex-a9-global-timer", }, { } }; +MODULE_DEVICE_TABLE (of, arm_global_timer_dt_ids);static struct driver arm_global_timer_driver = { .name ="arm-global-timer" ,
drivers/clocksource/arm_smp_twd.c +1 -0
@@ -98,6 +98,7 @@ static __maybe_unused struct of_device_id smp_twd_compatible[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, smp_twd_compatible);static struct driver smp_twd_driver = { .name ="smp_twd" ,
drivers/clocksource/armv7m_systick.c +1 -0
@@ -79,6 +79,7 @@ static struct of_device_id armv7m_systick_dt_ids[] = { { .compatible = "arm,armv7m-systick", }, { } }; +MODULE_DEVICE_TABLE (of, armv7m_systick_dt_ids);static struct driver armv7m_systick_driver = { .name ="armv7m-systick-timer" ,
drivers/clocksource/bcm2835.c +1 -0
@@ -80,6 +80,7 @@ static __maybe_unused struct of_device_id bcm2835_cs_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, bcm2835_cs_dt_ids);static struct driver bcm2835_cs_driver = { .name ="bcm2835-cs" ,
drivers/clocksource/clps711x.c +1 -0
@@ -55,6 +55,7 @@ static const struct of_device_id __maybe_unused clps711x_timer_dt_ids[] = { { .compatible = "cirrus,ep7209-timer", }, { } }; +MODULE_DEVICE_TABLE (of, clps711x_timer_dt_ids);static struct driver clps711x_cs_driver = { .name ="clps711x-cs" ,
drivers/clocksource/digic.c +1 -0
@@ -73,6 +73,7 @@ static __maybe_unused struct of_device_id digic_timer_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, digic_timer_dt_ids);static struct driver digic_timer_driver = { .probe = digic_timer_probe,
drivers/clocksource/dw_apb_timer.c +1 -0
@@ -135,6 +135,7 @@ static struct of_device_id dw_apb_timer_dt_ids[] = { { .compatible = "snps,dw-apb-timer", }, { } }; +MODULE_DEVICE_TABLE (of, dw_apb_timer_dt_ids);static struct driver dw_apb_timer_driver = { .name ="dw-apb-timer" ,
drivers/clocksource/kvx_timer.c +1 -0
@@ -49,6 +49,7 @@ static struct of_device_id kvx_timer_dt_ids[] = { { .compatible = "kalray,kvx-core-timer", }, { } }; +MODULE_DEVICE_TABLE (of, kvx_timer_dt_ids);static struct driver kvx_timer_driver = { .name ="kvx-timer" ,
drivers/clocksource/mvebu.c +1 -0
@@ -89,6 +89,7 @@ static struct of_device_id mvebu_timer_dt_ids[] = { { .compatible = "marvell,armada-xp-timer", }, { } }; +MODULE_DEVICE_TABLE (of, mvebu_timer_dt_ids);static struct driver mvebu_timer_driver = { .name ="mvebu-timer" ,
drivers/clocksource/orion.c +1 -0
@@ -63,6 +63,7 @@ static struct of_device_id orion_timer_dt_ids[] = { { .compatible = "marvell,orion-timer", }, { } }; +MODULE_DEVICE_TABLE (of, orion_timer_dt_ids);static struct driver orion_timer_driver = { .name ="orion-timer" ,
drivers/clocksource/rk_timer.c +1 -0
@@ -68,6 +68,7 @@ static __maybe_unused struct of_device_id rktimer_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, rktimer_dt_ids);static struct driver rktimer_driver = { .name ="rockchip-timer" ,
drivers/clocksource/timer-atmel-pit.c +1 -0
@@ -96,6 +96,7 @@ const static __maybe_unused struct of_device_id at91_pit_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, at91_pit_dt_ids);static struct driver at91_pit_driver = { .name ="at91-pit" ,
drivers/clocksource/timer-clint.c +1 -0
@@ -85,6 +85,7 @@ static struct of_device_id timer_clint_dt_ids[] = { { .compatible = "sifive,clint0" }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, timer_clint_dt_ids);static struct driver clint_timer_driver = { .name ="clint-timer" ,
drivers/clocksource/timer-imx-gpt.c +1 -0
@@ -153,6 +153,7 @@ static __maybe_unused struct of_device_id imx_gpt_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_gpt_dt_ids);static struct platform_device_id imx_gpt_ids[] = { {
drivers/clocksource/timer-stm32.c +1 -0
@@ -113,6 +113,7 @@ static struct of_device_id stm32_timer_dt_ids[] = { { .compatible = "st,stm32-timer" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, stm32_timer_dt_ids);static struct driver stm32_timer_driver = { .name ="stm32-timer" ,
drivers/clocksource/timer-ti-32k.c +1 -0
@@ -84,6 +84,7 @@ static __maybe_unused struct of_device_id omap_32ktimer_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, omap_32ktimer_dt_ids);static struct driver omap_32ktimer_driver = { .name ="omap-32ktimer" ,
drivers/clocksource/timer-ti-dm.c +1 -0
@@ -96,6 +96,7 @@ static __maybe_unused struct of_device_id omap_dmtimer_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, omap_dmtimer_dt_ids);static struct driver omap_dmtimer_driver = { .name ="omap-dmtimer" ,
drivers/clocksource/uemd.c +1 -0
@@ -108,6 +108,7 @@ static __maybe_unused struct of_device_id uemd_timer_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, uemd_timer_dt_ids);static struct driver uemd_timer_driver = { .probe = uemd_timer_probe,
drivers/crypto/caam/ctrl.c +1 -0
@@ -695,6 +695,7 @@ static __maybe_unused struct of_device_id caam_match[] = { }, {}, }; +MODULE_DEVICE_TABLE (of, caam_match);static struct driver caam_driver = { .name ="caam" ,
drivers/crypto/imx-scc/scc.c +1 -0
@@ -486,6 +486,7 @@ static __maybe_unused struct of_device_id imx_scc_dt_ids[] = { { .compatible = "fsl,imx25-scc", }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_scc_dt_ids);static struct driver imx_scc_driver = { .name ="mxc-scc" ,
drivers/dma/apbh_dma.c +1 -0
@@ -208,6 +208,7 @@ static __maybe_unused struct of_device_id apbh_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, apbh_dt_ids);static struct driver apbh_dma_driver = { .name ="dma-apbh" ,
drivers/eeprom/at25.c +1 -0
@@ -372,6 +372,7 @@ static __maybe_unused struct of_device_id at25_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, at25_dt_ids);static struct driver at25_driver = { .name =DRIVERNAME ,
drivers/firmware/altera_serial.c +1 -0
@@ -391,6 +391,7 @@ static struct of_device_id altera_spi_id_table[] = { { .compatible = "altr,fpga-arria10-passive-serial", .data = &a10_data }, { } }; +MODULE_DEVICE_TABLE (of, altera_spi_id_table);static struct driver altera_spi_driver = { .name ="altera-fpga" ,
drivers/firmware/arm_scmi/driver.c +1 -0
@@ -1246,6 +1246,7 @@ static const struct of_device_id scmi_of_match[] = {#endif { /* Sentinel */ }, }; +MODULE_DEVICE_TABLE (of, scmi_of_match);static struct driver arm_scmi_driver = { .name ="arm-scmi" ,
drivers/firmware/qemu_fw_cfg.c +1 -0
@@ -287,6 +287,7 @@ static const struct of_device_id qemu_fw_cfg_of_match[] = { { .compatible = "qemu,fw-cfg-mmio", }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, qemu_fw_cfg_of_match);static struct driver_d qemu_fw_cfg_drv = { .name ="fw_cfg" ,
drivers/firmware/socfpga.c +1 -0
@@ -459,6 +459,7 @@ static struct of_device_id socfpga_fpgamgr_id_table[] = { }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, socfpga_fpgamgr_id_table);static struct driver socfpga_fpgamgr_driver = { .name ="socfpa-fpgamgr" ,
drivers/firmware/zynqmp-fpga.c +1 -0
@@ -406,6 +406,7 @@ static struct of_device_id zynqmpp_fpga_id_table[] = { }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, zynqmpp_fpga_id_table);static struct driver zynqmp_fpga_driver = { .name ="zynqmp_fpga_manager" ,
drivers/fpga/socfpga-fpga2sdram-bridge.c +1 -0
@@ -95,6 +95,7 @@ static struct of_device_id altera_fpga_of_match[] = { { .compatible = "altr,socfpga-fpga2sdram-bridge" }, {}, }; +MODULE_DEVICE_TABLE (of, altera_fpga_of_match);static int alt_fpga_bridge_probe (struct device *dev) {
drivers/fpga/socfpga-hps2fpga-bridge.c +1 -0
@@ -112,6 +112,7 @@ static struct of_device_id altera_fpga_of_match[] = { .data = &fpga2hps_data }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, altera_fpga_of_match);static int alt_fpga_bridge_probe (struct device *dev) {
drivers/gpio/gpio-74xx-mmio.c +1 -0
@@ -81,6 +81,7 @@ static const struct of_device_id mmio_74xx_gpio_ids[] = { }, { } }; +MODULE_DEVICE_TABLE (of, mmio_74xx_gpio_ids);static inline struct mmio_74xx_gpio_priv *to_mmio_74xx_gpio_priv (struct gpio_chip *gc)
drivers/gpio/gpio-ath79.c +1 -0
@@ -102,6 +102,7 @@ static const struct of_device_id ath79_gpio_of_match[] = { { .compatible = "qca,ar7100-gpio" }, {}, }; +MODULE_DEVICE_TABLE (of, ath79_gpio_of_match);static int ath79_gpio_probe (struct device *dev) {
drivers/gpio/gpio-clps711x.c +1 -0
@@ -63,6 +63,7 @@ static const struct of_device_id __maybe_unused clps711x_gpio_dt_ids[] = { { .compatible = "cirrus,ep7209-gpio", }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, clps711x_gpio_dt_ids);static struct driver clps711x_gpio_driver = { .name ="clps711x-gpio" ,
drivers/gpio/gpio-davinci.c +1 -0
@@ -192,6 +192,7 @@ static struct of_device_id davinci_gpio_ids[] = { { .compatible = "ti,dm6441-gpio", }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, davinci_gpio_ids);static struct driver davinci_gpio_driver = { .name ="davinci_gpio" ,
drivers/gpio/gpio-digic.c +1 -0
@@ -156,6 +156,7 @@ static __maybe_unused struct of_device_id digic_gpio_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, digic_gpio_dt_ids);static struct driver digic_gpio_driver = { .name ="digic-gpio" ,
drivers/gpio/gpio-dw.c +1 -0
@@ -176,6 +176,7 @@ static __maybe_unused struct of_device_id dwgpio_match[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, dwgpio_match);static struct driver dwgpio_driver = { .name ="dw-apb-gpio" ,
drivers/gpio/gpio-generic.c +1 -0
@@ -600,6 +600,7 @@ static const struct of_device_id bgpio_of_match[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, bgpio_of_match);static struct driver bgpio_driver = { .name ="basic-mmio-gpio" ,
drivers/gpio/gpio-imx.c +1 -0
@@ -184,6 +184,7 @@ static __maybe_unused struct of_device_id imx_gpio_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_gpio_dt_ids);static struct platform_device_id imx_gpio_ids[] = { {
drivers/gpio/gpio-jz4740.c +1 -0
@@ -119,6 +119,7 @@ static __maybe_unused struct of_device_id jz4740_gpio_dt_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, jz4740_gpio_dt_ids);static struct driver jz4740_gpio_driver = { .name ="jz4740-gpio" ,
drivers/gpio/gpio-latch.c +1 -0
@@ -182,6 +182,7 @@ static const struct of_device_id gpio_latch_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, gpio_latch_ids);static struct driver gpio_latch_driver = { .name ="gpio-latch" ,
drivers/gpio/gpio-libftdi1.c +1 -0
@@ -112,6 +112,7 @@ static __maybe_unused const struct of_device_id libftdi1_gpio_dt_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, libftdi1_gpio_dt_ids);static void libftdi1_gpio_remove (struct device *dev) {
drivers/gpio/gpio-malta-fpga-i2c.c +1 -0
@@ -159,6 +159,7 @@ static __maybe_unused struct of_device_id malta_i2c_gpio_dt_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, malta_i2c_gpio_dt_ids);static struct driver malta_i2c_gpio_driver = { .name ="malta-fpga-i2c-gpio" ,
drivers/gpio/gpio-mpc8xxx.c +1 -0
@@ -107,6 +107,7 @@ static __maybe_unused struct of_device_id mpc8xxx_gpio_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, mpc8xxx_gpio_ids);static struct driver mpc8xxx_driver = { .name ="mpc8xxx-gpio" ,
drivers/gpio/gpio-mxs.c +1 -0
@@ -150,6 +150,7 @@ static __maybe_unused struct of_device_id mxs_gpio_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, mxs_gpio_dt_ids);static struct platform_device_id mxs_gpio_ids[] = { {
drivers/gpio/gpio-omap.c +1 -0
@@ -161,6 +161,7 @@ static __maybe_unused struct of_device_id omap_gpio_dt_ids[] = { }, { } }; +MODULE_DEVICE_TABLE (of, omap_gpio_dt_ids);static struct driver omap_gpio_driver = { .name ="omap-gpio" ,
drivers/gpio/gpio-orion.c +1 -0
@@ -113,6 +113,7 @@ static struct of_device_id orion_gpio_dt_ids[] = { { .compatible = "marvell,orion-gpio", }, { } }; +MODULE_DEVICE_TABLE (of, orion_gpio_dt_ids);static struct driver orion_gpio_driver = { .name ="orion-gpio" ,
drivers/gpio/gpio-pca953x.c +1 -0
@@ -534,6 +534,7 @@ static const struct of_device_id pca953x_dt_ids[] = { { .compatible = "exar,xra1202", .data = OF_953X( 8, 0), }, { } }; +MODULE_DEVICE_TABLE (of, pca953x_dt_ids);static struct driver pca953x_driver = { .name ="pca953x" ,
drivers/gpio/gpio-pcf857x.c +1 -0
@@ -238,6 +238,7 @@ static const struct of_device_id pcf857x_dt_ids[] = { { .compatible = "maxim,max7329", .data = (void *)8 }, { } }; +MODULE_DEVICE_TABLE (of, pcf857x_dt_ids);static struct driver pcf857x_driver = { .name ="pcf857x" ,
drivers/gpio/gpio-raspberrypi-exp.c +1 -0
@@ -262,6 +262,7 @@ static __maybe_unused struct of_device_id rpi_exp_gpio_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, rpi_exp_gpio_ids);static struct driver rpi_exp_gpio_driver = { .name ="rpi-exp-gpio" ,
drivers/gpio/gpio-rockchip.c +1 -0
@@ -186,6 +186,7 @@ static struct of_device_id rockchip_gpio_dt_match[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, rockchip_gpio_dt_match);static struct driver rockchip_gpio_driver = { .name ="rockchip-gpio" ,
drivers/gpio/gpio-sifive.c +1 -0
@@ -78,6 +78,7 @@ static const struct of_device_id sifive_gpio_match[] = { { .compatible = "sifive,fu540-c000-gpio" }, { }, }; +MODULE_DEVICE_TABLE (of, sifive_gpio_match);static struct driver sifive_gpio_driver = { .name ="sifive_gpio" ,
drivers/gpio/gpio-starfive-vic.c +1 -0
@@ -164,6 +164,7 @@ static const struct of_device_id starfive_gpio_match[] = { { .compatible = "starfive,gpio0", }, { }, }; +MODULE_DEVICE_TABLE (of, starfive_gpio_match);static struct driver starfive_gpio_driver = { .probe = starfive_gpio_probe,
drivers/gpio/gpio-sx150x.c +1 -0
@@ -255,6 +255,7 @@ static __maybe_unused struct of_device_id sx150x_dt_ids[] = { { .compatible = "semtech,sx1503q", .data = &sx1503q_device_data, }, { } }; +MODULE_DEVICE_TABLE (of, sx150x_dt_ids);static struct driver sx150x_driver = { .name ="sx150x" ,
drivers/gpio/gpio-tegra.c +1 -0
@@ -181,6 +181,7 @@ static __maybe_unused struct of_device_id tegra_gpio_dt_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, tegra_gpio_dt_ids);static struct driver tegra_gpio_driver = { .name ="tegra-gpio" ,
drivers/gpio/gpio-vf610.c +1 -0
@@ -33,6 +33,7 @@ static const struct of_device_id vf610_gpio_dt_ids[] = { { .compatible = "fsl,vf610-gpio" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, vf610_gpio_dt_ids);static int vf610_gpio_get_value (struct gpio_chip *chip,unsigned int gpio)
drivers/gpio/gpio-zynq.c +1 -0
@@ -426,6 +426,7 @@ static const struct of_device_id zynq_gpio_of_match[] = { { .compatible = "xlnx,zynqmp-gpio-1.0", .data = &zynqmp_gpio_def }, {/* end of table */ } }; +MODULE_DEVICE_TABLE (of, zynq_gpio_of_match);static struct driver zynqmp_gpio_driver = { .name ="zynqmp-gpio" ,
drivers/hw_random/mxc-rngc.c +1 -0
@@ -282,6 +282,7 @@ static const struct of_device_id mxc_rngc_dt_ids[] = { { .compatible = "fsl,imx25-rngb" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, mxc_rngc_dt_ids);static struct driver mxc_rngc_driver = { .name ="mxc_rngc" ,
drivers/hw_random/starfive-vic-rng.c +1 -0
@@ -195,6 +195,7 @@ static const struct of_device_id vic_rng_dt_ids[] = { { .compatible = "starfive,vic-rng" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, vic_rng_dt_ids);static struct driver vic_rng_driver = { .name ="vic-rng" ,
drivers/hw_random/stm32-rng.c +1 -0
@@ -152,6 +152,7 @@ static const struct of_device_id stm32_rng_dt_ids[] = { { .compatible = "st,stm32-rng" }, { /* sentinel */}, }; +MODULE_DEVICE_TABLE (of, stm32_rng_dt_ids);static struct driver stm32_rng_driver = { .name ="stm32-rng" ,
drivers/i2c/busses/i2c-at91.c +1 -0
@@ -511,6 +511,7 @@ static struct of_device_id at91_twi_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, at91_twi_dt_ids);static int at91_twi_probe (struct device *dev) {
drivers/i2c/busses/i2c-bcm283x.c +1 -0
@@ -325,6 +325,7 @@ static struct of_device_id bcm283x_i2c_dt_ids[] = { { .compatible = "brcm,bcm2711-i2c", }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, bcm283x_i2c_dt_ids);static struct driver bcm283x_i2c_driver = { .name ="i2c-bcm283x" ,
drivers/i2c/busses/i2c-cadence.c +1 -0
@@ -444,6 +444,7 @@ static const struct of_device_id cdns_i2c_match[] = { { .compatible = "cdns,i2c-r1p14" }, {}, }; +MODULE_DEVICE_TABLE (of, cdns_i2c_match);static struct driver cdns_i2c_driver = { .name ="cdns-i2c" ,
drivers/i2c/busses/i2c-designware.c +1 -0
@@ -599,6 +599,7 @@ static __maybe_unused struct of_device_id i2c_dw_dt_ids[] = { { .compatible = "snps,designware-i2c", }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, i2c_dw_dt_ids);static struct driver i2c_dw_driver = { .probe = i2c_dw_probe,
drivers/i2c/busses/i2c-gpio.c +1 -0
@@ -228,6 +228,7 @@ static struct of_device_id i2c_gpio_dt_ids[] = { { .compatible = "i2c-gpio", }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, i2c_gpio_dt_ids);static struct driver i2c_gpio_driver = { .name ="i2c-gpio" ,
drivers/i2c/busses/i2c-imx.c +1 -0
@@ -650,6 +650,7 @@ static __maybe_unused struct of_device_id imx_i2c_dt_ids[] = { { .compatible = "fsl,vf610-i2c", .data = &vf610_i2c_hwdata, }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_i2c_dt_ids);static struct driver i2c_fsl_driver = { .probe = i2c_fsl_probe,
drivers/i2c/busses/i2c-mv64xxx.c +1 -0
@@ -495,6 +495,7 @@ static struct of_device_id mv64xxx_i2c_of_match_table[] = { { .compatible = "marvell,mv78230-a0-i2c", .data = &mv64xxx_i2c_regs_mv64xxx}, {} }; +MODULE_DEVICE_TABLE (of, mv64xxx_i2c_of_match_table);static inline int mv64xxx_calc_freq (const int tclk,const int n,const int m)
drivers/i2c/busses/i2c-omap.c +1 -0
@@ -1219,6 +1219,7 @@ static __maybe_unused struct of_device_id omap_i2c_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, omap_i2c_dt_ids);static struct driver omap_i2c_driver = { .probe = i2c_omap_probe,
drivers/i2c/busses/i2c-rockchip.c +1 -0
@@ -452,6 +452,7 @@ static const struct of_device_id rk_i2c_match[] = { { .compatible = "rockchip,rk3399-i2c" }, {}, }; +MODULE_DEVICE_TABLE (of, rk_i2c_match);static struct driver rk_i2c_driver = { .name ="rk3x-i2c" ,
drivers/i2c/busses/i2c-stm32.c +1 -0
@@ -850,6 +850,7 @@ static __maybe_unused struct of_device_id stm32_i2c_dt_ids[] = { { .compatible = "st,stm32mp15-i2c", .data = &stm32f7_setup}, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, stm32_i2c_dt_ids);static struct driver stm32_i2c_driver = { .probe = stm32_i2c_probe,
drivers/i2c/busses/i2c-tegra.c +1 -0
@@ -683,6 +683,7 @@ static __maybe_unused struct of_device_id tegra_i2c_compatible[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, tegra_i2c_compatible);static struct driver tegra_i2c_driver = { .name ="tegra-i2c" ,
drivers/i2c/busses/i2c-versatile.c +1 -0
@@ -106,6 +106,7 @@ static struct of_device_id i2c_versatile_match[] = { { .compatible = "arm,versatile-i2c", }, {}, }; +MODULE_DEVICE_TABLE (of, i2c_versatile_match);static struct driver i2c_versatile_driver = { .name ="versatile-i2c" ,
drivers/input/gpio_keys.c +1 -0
@@ -176,6 +176,7 @@ static struct of_device_id key_gpio_of_ids[] = { { .compatible = "gpio-keys", }, { } }; +MODULE_DEVICE_TABLE (of, key_gpio_of_ids);static struct driver gpio_keys_driver = { .name ="gpio_keys" ,
drivers/input/imx_keypad.c +1 -0
@@ -421,6 +421,7 @@ static __maybe_unused struct of_device_id imx_keypad_dt_ids[] = { { .compatible = "fsl,imx21-kpp", }, { } }; +MODULE_DEVICE_TABLE (of, imx_keypad_dt_ids);static struct driver imx_keypad_driver = { .name ="imx-kpp" ,
drivers/led/led-gpio.c +1 -0
@@ -257,6 +257,7 @@ static struct of_device_id led_gpio_of_ids[] = { { .compatible = "gpio-leds", }, { } }; +MODULE_DEVICE_TABLE (of, led_gpio_of_ids);static struct driver led_gpio_of_driver = { .name ="gpio-leds" ,
drivers/led/led-pca955x.c +1 -0
@@ -325,6 +325,7 @@ static const struct of_device_id of_pca955x_match[] = { { .compatible = "nxp,pca9553", .data = &pca9553_chipdef }, {}, }; +MODULE_DEVICE_TABLE (of, of_pca955x_match);static int led_pca955x_probe (struct device *dev) {
drivers/led/led-pwm.c +1 -0
@@ -80,6 +80,7 @@ static struct of_device_id led_pwm_of_ids[] = { { .compatible = "pwm-leds", }, { } }; +MODULE_DEVICE_TABLE (of, led_pwm_of_ids);static struct driver led_pwm_of_driver = { .name ="pwm-leds" ,
drivers/mci/arasan-sdhci.c +1 -0
@@ -278,6 +278,7 @@ static __maybe_unused struct of_device_id arasan_sdhci_compatible[] = { { .compatible = "arasan,sdhci-8.9a" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, arasan_sdhci_compatible);static struct driver arasan_sdhci_driver = { .name ="arasan-sdhci" ,
drivers/mci/atmel-sdhci.c +1 -0
@@ -162,6 +162,7 @@ static const struct of_device_id at91_sdhci_dt_match[] = { { .compatible = "microchip,sam9x60-sdhci" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, at91_sdhci_dt_match);static struct driver at91_sdhci_driver = { .name ="sdhci-at91" ,
drivers/mci/atmel_mci.c +1 -0
@@ -193,6 +193,7 @@ static __maybe_unused struct of_device_id atmci_compatible[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, atmci_compatible);static struct driver atmci_driver = { .name ="atmel_mci" ,
drivers/mci/bcm2835-sdhost.c +1 -0
@@ -619,6 +619,7 @@ static __maybe_unused struct of_device_id bcm2835_sdhost_compatible[] = { { .compatible = "brcm,bcm2835-sdhost" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, bcm2835_sdhost_compatible);static struct driver bcm2835_sdhost_driver = { .name ="bcm2835-sdhost" ,
drivers/mci/dove-sdhci.c +1 -0
@@ -300,6 +300,7 @@ static struct of_device_id dove_sdhci_dt_ids[] = { { .compatible = "marvell,dove-sdhci", }, { } }; +MODULE_DEVICE_TABLE (of, dove_sdhci_dt_ids);static struct driver dove_sdhci_driver = { .name ="dove-sdhci" ,
drivers/mci/dw_mmc.c +1 -0
@@ -648,6 +648,7 @@ static __maybe_unused struct of_device_id dw_mmc_compatible[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, dw_mmc_compatible);static struct driver dw_mmc_driver = { .name ="dw_mmc" ,
drivers/mci/imx-esdhc.c +1 -0
@@ -395,6 +395,7 @@ static __maybe_unused struct of_device_id fsl_esdhc_compatible[] = { { .compatible = "fsl,ls1046a-esdhc",.data = &esdhc_ls_data }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, fsl_esdhc_compatible);static struct platform_device_id imx_esdhc_ids[] = { {
drivers/mci/imx.c +1 -0
@@ -527,6 +527,7 @@ static __maybe_unused struct of_device_id mxcmci_compatible[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, mxcmci_compatible);static struct driver mxcmci_driver = { .name =DRIVER_NAME ,
drivers/mci/mci-bcm2835.c +1 -0
@@ -429,6 +429,7 @@ static __maybe_unused struct of_device_id bcm2835_mci_compatible[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, bcm2835_mci_compatible);static struct driver bcm2835_mci_driver = { .name ="bcm2835_mci" ,
drivers/mci/mci_spi.c +1 -0
@@ -450,6 +450,7 @@ static __maybe_unused struct of_device_id spi_mci_compatible[] = { { .compatible = "mmc-spi-slot" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, spi_mci_compatible);static struct driver spi_mci_driver = { .name ="spi_mci" ,
drivers/mci/mxs.c +1 -0
@@ -597,6 +597,7 @@ static __maybe_unused struct of_device_id mxs_mmc_compatible[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, mxs_mmc_compatible);static struct driver mxs_mci_driver = { .name ="mxs_mci" ,
drivers/mci/omap_hsmmc.c +1 -0
@@ -647,6 +647,7 @@ static __maybe_unused struct of_device_id omap_mmc_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, omap_mmc_dt_ids);static struct driver omap_mmc_driver = { .name ="omap-hsmmc" ,
drivers/mci/rockchip-dwcmshc-sdhci.c +1 -0
@@ -361,6 +361,7 @@ static __maybe_unused struct of_device_id rk_sdhci_compatible[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, rk_sdhci_compatible);static struct driver rk_sdhci_driver = { .name ="rk3568-dwcmshc-sdhci" ,
drivers/mci/tegra-sdmmc.c +1 -0
@@ -451,6 +451,7 @@ static __maybe_unused struct of_device_id tegra_sdmmc_compatible[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, tegra_sdmmc_compatible);static struct driver tegra_sdmmc_driver = { .name ="tegra-sdmmc" ,
drivers/memory/atmel-ebi.c +1 -0
@@ -496,6 +496,7 @@ static const struct of_device_id atmel_ebi_id_table[] = { }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, atmel_ebi_id_table);static int atmel_ebi_probe (struct device *dev) {
drivers/memory/mc-tegra124.c +1 -0
@@ -50,6 +50,7 @@ static __maybe_unused struct of_device_id tegra124_mc_dt_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, tegra124_mc_dt_ids);static struct driver tegra124_mc_driver = { .name ="tegra124-mc" ,
drivers/mfd/atmel-flexcom.c +1 -0
@@ -64,6 +64,7 @@ static const struct of_device_id atmel_flexcom_of_match[] = { { .compatible = "atmel,sama5d2-flexcom" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, atmel_flexcom_of_match);static struct driver atmel_flexcom_driver = { .probe = atmel_flexcom_probe,
drivers/mfd/atmel-smc.c +1 -0
@@ -330,6 +330,7 @@ static const struct of_device_id atmel_smc_ids[] = { { .compatible = "atmel,sama5d2-smc", .data = &sama5d2_reg_layout }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, atmel_smc_ids);/** * atmel_hsmc_get_reg_layout - retrieve the layout of HSMC registers
drivers/mfd/axp20x-i2c.c +1 -0
@@ -58,6 +58,7 @@ static const struct of_device_id axp20x_i2c_of_match[] = { { .compatible = "x-powers,axp806", .data = (void *)AXP806_ID }, { }, }; +MODULE_DEVICE_TABLE (of, axp20x_i2c_of_match);static struct driver axp20x_i2c_driver = { .name ="axp20x-i2c" ,
drivers/mfd/da9053.c +1 -0
@@ -288,6 +288,7 @@ static __maybe_unused struct of_device_id da9053_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, da9053_dt_ids);static struct driver da9053_driver = { .name =DRIVERNAME ,
drivers/mfd/da9063.c +1 -0
@@ -426,6 +426,7 @@ static struct of_device_id const da906x_dt_ids[] = { }, { } }; +MODULE_DEVICE_TABLE (of, da906x_dt_ids);static struct driver da9063_driver = { .name ="da9063" ,
drivers/mfd/mc13xxx.c +1 -0
@@ -387,6 +387,7 @@ static __maybe_unused struct of_device_id mc13xxx_dt_ids[] = { { .compatible = "fsl,mc34708", .data = &mc34708_devtype, }, { } }; +MODULE_DEVICE_TABLE (of, mc13xxx_dt_ids);static __maybe_unused struct driver mc13xxx_i2c_driver = { .name ="mc13xxx-i2c" ,
drivers/mfd/mc34704.c +1 -0
@@ -114,6 +114,7 @@ static __maybe_unused struct of_device_id mc34704_dt_ids[] = { { .compatible = "fsl,mc34704", }, { } }; +MODULE_DEVICE_TABLE (of, mc34704_dt_ids);static struct driver mc34704_driver = { .name =DRIVERNAME ,
drivers/mfd/rave-sp.c +1 -0
@@ -731,6 +731,7 @@ static const struct of_device_id __maybe_unused rave_sp_dt_ids[] = { { .compatible = "zii,rave-sp-rdu2", .data = &rave_sp_rdu2 }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, rave_sp_dt_ids);static int rave_sp_req_ip_addr (struct param_d *p,void *context) {
drivers/mfd/rk808.c +1 -0
@@ -380,6 +380,7 @@ static const struct of_device_id rk808_of_match[] = { { .compatible = "rockchip,rk818" }, { }, }; +MODULE_DEVICE_TABLE (of, rk808_of_match);static struct driver rk808_i2c_driver = { .name ="rk808" ,
drivers/mfd/rn5t568.c +1 -0
@@ -156,6 +156,7 @@ static __maybe_unused const struct of_device_id rn5t568_of_match[] = { { .compatible = "ricoh,rn5t568", .data = NULL, }, { } }; +MODULE_DEVICE_TABLE (of, rn5t568_of_match);static struct driver rn5t568_i2c_driver = { .name ="rn5t568-i2c" ,
drivers/mfd/stm32-timers.c +1 -0
@@ -65,6 +65,7 @@ static const struct of_device_id stm32_timers_of_match[] = { { .compatible = "st,stm32-timers", }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, stm32_timers_of_match);static struct driver stm32_timers_driver = { .name ="stm32-timers" ,
drivers/mfd/stpmic1.c +1 -0
@@ -46,6 +46,7 @@ static __maybe_unused struct of_device_id stpmic1_dt_ids[] = { { .compatible = "st,stpmic1" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, stpmic1_dt_ids);static struct driver stpmic1_i2c_driver = { .name ="stpmic1-i2c" ,
drivers/misc/sram.c +1 -0
@@ -53,6 +53,7 @@ static __maybe_unused struct of_device_id sram_dt_ids[] = { }, { }, }; +MODULE_DEVICE_TABLE (of, sram_dt_ids);static struct driver sram_driver = { .name ="mmio-sram" ,
drivers/misc/starfive-pwrseq.c +1 -0
@@ -36,6 +36,7 @@ static struct of_device_id starfive_pwrseq_dt_ids[] = { { .compatible = "starfive,spi2ahb" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, starfive_pwrseq_dt_ids);static struct driver starfive_pwrseq_driver = { .name ="starfive_pwrseq" ,
drivers/misc/state.c +1 -0
@@ -44,6 +44,7 @@ static __maybe_unused struct of_device_id state_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, state_ids);static struct driver state_driver = { .name ="state" ,
drivers/misc/storage-by-uuid.c +1 -0
@@ -189,6 +189,7 @@ static struct of_device_id storage_by_uuid_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, storage_by_uuid_dt_ids);static struct driver storage_by_uuid_driver = { .name ="storage-by-uuid" ,
drivers/misc/ubootvar.c +1 -0
@@ -350,6 +350,7 @@ static struct of_device_id ubootenv_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, ubootenv_dt_ids);static struct driver ubootenv_driver = { .name ="uboot-environment" ,
drivers/mtd/devices/m25p80.c +1 -0
@@ -274,6 +274,7 @@ static __maybe_unused struct of_device_id m25p80_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, m25p80_dt_ids);static struct driver m25p80_driver = { .name ="m25p80" ,
drivers/mtd/devices/mtd_dataflash.c +1 -0
@@ -895,6 +895,7 @@ static __maybe_unused struct of_device_id dataflash_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, dataflash_dt_ids);static struct driver dataflash_driver = { .name ="mtd_dataflash" ,
drivers/mtd/devices/mtdram.c +1 -0
@@ -106,6 +106,7 @@ static __maybe_unused struct of_device_id mtdram_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, mtdram_dt_ids);static struct driver mtdram_driver = { .name ="mtdram" ,
drivers/mtd/nand/atmel/pmecc.c +1 -0
@@ -905,6 +905,7 @@ static const struct of_device_id __maybe_unused atmel_pmecc_legacy_match[] = { { .compatible = "atmel,sama5d2-nand", &sama5d2_caps }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, atmel_pmecc_legacy_match);struct atmel_pmecc *dev_atmel_pmecc_get (struct device *userdev) {
drivers/mtd/nand/nand_denali_dt.c +1 -0
@@ -211,6 +211,7 @@ static __maybe_unused struct of_device_id denali_nand_compatible[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, denali_nand_compatible);static struct driver denali_dt_driver = { .name ="denali-nand-dt" ,
drivers/mtd/nand/nand_fsl_ifc.c +1 -0
@@ -1025,6 +1025,7 @@ static __maybe_unused struct of_device_id fsl_nand_compatible[] = { }, { } }; +MODULE_DEVICE_TABLE (of, fsl_nand_compatible);static struct driver fsl_ifc_driver = { .name ="fsl_nand" ,
drivers/mtd/nand/nand_imx.c +1 -0
@@ -1480,6 +1480,7 @@ static __maybe_unused struct of_device_id imx_nand_compatible[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_nand_compatible);static struct driver imx_nand_driver = { .name ="imx_nand" ,
drivers/mtd/nand/nand_mrvl_nfc.c +1 -0
@@ -299,6 +299,7 @@ static struct of_device_id mrvl_nand_dt_ids[] = { }, {} }; +MODULE_DEVICE_TABLE (of, mrvl_nand_dt_ids);/* convert nano-seconds to nand flash controller clock cycles */ static int ns2cycle (int ns,unsigned long clk_rate)
drivers/mtd/nand/nand_mxs.c +1 -0
@@ -2306,6 +2306,7 @@ static __maybe_unused struct of_device_id gpmi_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, gpmi_dt_ids);static struct driver mxs_nand_driver = { .name ="mxs_nand" ,
drivers/mtd/nand/nand_orion.c +1 -0
@@ -147,6 +147,7 @@ static __maybe_unused struct of_device_id orion_nand_compatible[] = { { .compatible = "marvell,orion-nand", }, {}, }; +MODULE_DEVICE_TABLE (of, orion_nand_compatible);static struct driver orion_nand_driver = { .name ="orion_nand" ,
drivers/mtd/nand/omap_elm.c +1 -0
@@ -404,6 +404,7 @@ static struct of_device_id elm_compatible[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, elm_compatible);static struct driver omap_elm_driver = { .name ="omap-elm" ,
drivers/mtd/nor/cfi_flash.c +1 -0
@@ -1049,6 +1049,7 @@ static __maybe_unused struct of_device_id cfi_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, cfi_dt_ids);static struct driver cfi_driver = { .name ="cfi_flash" ,
drivers/mtd/spi-nor/cadence-quadspi.c +1 -0
@@ -1244,6 +1244,7 @@ static __maybe_unused struct of_device_id cqspi_dt_ids[] = { {.compatible = "cdns,qspi-nor",}, {/* end of table */ } }; +MODULE_DEVICE_TABLE (of, cqspi_dt_ids);static struct driver cqspi_driver = { .name ="cadence_qspi" ,
drivers/net/ag71xx.c +1 -0
@@ -671,6 +671,7 @@ static __maybe_unused struct of_device_id ag71xx_dt_ids[] = { { .compatible = "qca,ar9344-gmac0", .data = &ag71xx_cfg_ar9344_gmac0, }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, ag71xx_dt_ids);static struct driver ag71xx_driver = { .name ="ag71xx-gmac" ,
drivers/net/arc_emac.c +1 -0
@@ -464,6 +464,7 @@ static __maybe_unused struct of_device_id arc_emac_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, arc_emac_dt_ids);static struct driver arc_emac_driver = { .name ="arc-emac" ,
drivers/net/bcmgenet.c +1 -0
@@ -616,6 +616,7 @@ static struct of_device_id bcmgenet_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, bcmgenet_ids);static struct driver bcmgenet_driver = { .name ="brcm-genet" ,
drivers/net/cpsw.c +2 -0
@@ -653,6 +653,7 @@ static __maybe_unused struct of_device_id cpsw_mdio_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, cpsw_mdio_dt_ids);static struct driver cpsw_mdio_driver = { .name ="cpsw-mdio" ,
@@ -1433,6 +1434,7 @@ static __maybe_unused struct of_device_id cpsw_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, cpsw_dt_ids);static struct driver cpsw_driver = { .name ="cpsw" ,
drivers/net/davinci_emac.c +2 -0
@@ -602,6 +602,7 @@ static __maybe_unused struct of_device_id davinci_emac_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, davinci_emac_dt_ids);static struct driver davinci_emac_driver = { .name ="davinci_emac" ,
@@ -658,6 +659,7 @@ static __maybe_unused struct of_device_id davinci_mdio_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, davinci_mdio_dt_ids);static struct driver davinci_mdio_driver = { .name ="davinci_mdio" ,
drivers/net/designware_generic.c +1 -0
@@ -35,6 +35,7 @@ static __maybe_unused struct of_device_id dwc_ether_compatible[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, dwc_ether_compatible);static struct driver dwc_ether_driver = { .name ="designware_eth" ,
drivers/net/designware_imx8.c +1 -0
@@ -184,6 +184,7 @@ static __maybe_unused struct of_device_id eqos_imx8_ids[] = { { .compatible = "nxp,imx8mp-dwmac-eqos"}, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, eqos_imx8_ids);static struct driver_d eqos_imx8_driver = { .name ="eqos-imx8" ,
drivers/net/designware_rockchip.c +1 -0
@@ -319,6 +319,7 @@ static __maybe_unused struct of_device_id rk_gmac_compatible[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, rk_gmac_compatible);static struct driver rk_gmac_driver = { .name ="eqos-rockchip" ,
drivers/net/designware_socfpga.c +1 -0
@@ -261,6 +261,7 @@ static __maybe_unused struct of_device_id socfpga_dwc_ether_compatible[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, socfpga_dwc_ether_compatible);static struct driver socfpga_dwc_ether_driver = { .name ="socfpga_designware_eth" ,
drivers/net/designware_starfive.c +1 -0
@@ -102,6 +102,7 @@ static struct of_device_id starfive_dwc_ether_compatible[] = { { .compatible = "starfive,stmmac", .data = &starfive_drvdata }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, starfive_dwc_ether_compatible);static struct driver starfive_dwc_ether_driver = { .name ="starfive-designware_eth" ,
drivers/net/designware_stm32.c +1 -0
@@ -196,6 +196,7 @@ static const struct of_device_id eqos_stm32_ids[] = { { .compatible = "st,stm32mp1-dwmac" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, eqos_stm32_ids);static struct driver eqos_stm32_driver = { .name ="eqos-stm32" ,
drivers/net/designware_tegra186.c +1 -0
@@ -308,6 +308,7 @@ static const struct of_device_id eqos_tegra186_ids[] = { { .compatible = "nvidia,tegra186-eqos" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, eqos_tegra186_ids);static struct driver eqos_tegra186_driver = { .name ="eqos-tegra186" ,
drivers/net/dm9k.c +1 -0
@@ -870,6 +870,7 @@ static struct of_device_id dm9000_of_matches[] = { { .compatible = "davicom,dm9000", }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, dm9000_of_matches);static struct driver dm9k_driver = { .name ="dm9000" ,
drivers/net/enc28j60.c +1 -0
@@ -998,6 +998,7 @@ static __maybe_unused struct of_device_id enc28j60_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, enc28j60_dt_ids);static struct driver enc28j60_driver = { .name =DRV_NAME ,
drivers/net/ethoc.c +1 -0
@@ -571,6 +571,7 @@ static struct of_device_id ethoc_dt_ids[] = { { .compatible = "opencores,ethoc", }, { } }; +MODULE_DEVICE_TABLE (of, ethoc_dt_ids);static struct driver ethoc_driver = { .name ="ethoc" ,
drivers/net/fec_imx.c +1 -0
@@ -961,6 +961,7 @@ static __maybe_unused struct of_device_id imx_fec_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_fec_dt_ids);static struct platform_device_id imx_fec_ids[] = { {
drivers/net/fsl-fman.c +5 -0
@@ -1241,6 +1241,7 @@ static struct of_device_id fsl_fman_mdio_dt_ids[] = { }, { } }; +MODULE_DEVICE_TABLE (of, fsl_fman_mdio_dt_ids);static struct driver fman_mdio_driver = { .name ="fsl-fman-mdio" ,
@@ -1258,6 +1259,7 @@ static struct of_device_id fsl_fman_port_dt_ids[] = { }, { } }; +MODULE_DEVICE_TABLE (of, fsl_fman_port_dt_ids);static struct driver fman_port_driver = { .name ="fsl-fman-port" ,
@@ -1271,6 +1273,7 @@ static struct of_device_id fsl_fman_memac_dt_ids[] = { }, { } }; +MODULE_DEVICE_TABLE (of, fsl_fman_memac_dt_ids);static struct driver fman_memac_driver = { .name ="fsl-fman-memac" ,
@@ -1285,6 +1288,7 @@ static struct of_device_id fsl_fman_muram_dt_ids[] = { }, { } }; +MODULE_DEVICE_TABLE (of, fsl_fman_muram_dt_ids);static struct driver fman_muram_driver = { .name ="fsl-fman-muram" ,
@@ -1329,6 +1333,7 @@ static struct of_device_id fsl_fman_dt_ids[] = { }, { } }; +MODULE_DEVICE_TABLE (of, fsl_fman_dt_ids);static struct driver fman_driver = { .name ="fsl-fman" ,
drivers/net/ksz8873.c +1 -0
@@ -435,6 +435,7 @@ static const struct of_device_id ksz8873_dt_ids[] = { { .compatible = "microchip,ksz8873", .data = &ksz8873_dcfg }, { } }; +MODULE_DEVICE_TABLE (of, ksz8873_dt_ids);static struct phy_driver ksz8873_driver_mdio = { .drv = {
drivers/net/ksz9477.c +1 -0
@@ -475,6 +475,7 @@ static const struct of_device_id microchip_switch_dt_ids[] = { { .compatible = "microchip,ksz9563" }, { } }; +MODULE_DEVICE_TABLE (of, microchip_switch_dt_ids);static struct driver microchip_switch_spi_driver = { .name ="ksz9477-spi" ,
drivers/net/liteeth.c +1 -0
@@ -369,6 +369,7 @@ static const struct of_device_id liteeth_dt_ids[] = { }, { } }; +MODULE_DEVICE_TABLE (of, liteeth_dt_ids);static struct driver liteeth_driver = { .name =DRV_NAME ,
drivers/net/macb.c +1 -0
@@ -941,6 +941,7 @@ static const struct of_device_id macb_dt_ids[] = { { .compatible = "sifive,fu540-c000-gem", .data = &fu540_c000_config }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, macb_dt_ids);static struct driver macb_driver = { .name ="macb" ,
drivers/net/mvneta.c +1 -0
@@ -755,6 +755,7 @@ static struct of_device_id mvneta_dt_ids[] = { { .compatible = "marvell,armada-xp-neta" }, { } }; +MODULE_DEVICE_TABLE (of, mvneta_dt_ids);static struct driver mvneta_driver = { .name ="mvneta" ,
drivers/net/orion-gbe.c +1 -0
@@ -538,6 +538,7 @@ static struct of_device_id orion_gbe_dt_ids[] = { { .compatible = "marvell,kirkwood-eth", }, { } }; +MODULE_DEVICE_TABLE (of, orion_gbe_dt_ids);static struct driver orion_gbe_driver = { .name ="orion-gbe" ,
drivers/net/phy/mdio-gpio.c +1 -0
@@ -227,6 +227,7 @@ static const struct of_device_id gpio_mdio_dt_ids[] = { { .compatible = "microchip,mdio-smi0" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, gpio_mdio_dt_ids);static struct driver mdio_gpio_driver = { .name ="mdio-gpio" ,
drivers/net/phy/mdio-mux-gpio.c +1 -0
@@ -126,6 +126,7 @@ static const struct of_device_id mdio_mux_gpio_match[] = { }, {}, }; +MODULE_DEVICE_TABLE (of, mdio_mux_gpio_match);static struct driver mdio_mux_gpio_driver = { .name ="mdio-mux-gpio" ,
drivers/net/phy/mdio-mvebu.c +1 -0
@@ -141,6 +141,7 @@ static struct of_device_id mvebu_mdio_dt_ids[] = { { .compatible = "marvell,orion-mdio" }, { } }; +MODULE_DEVICE_TABLE (of, mvebu_mdio_dt_ids);static struct driver mvebu_mdio_driver = { .name ="mvebu-mdio" ,
drivers/net/phy/mv88e6xxx/chip.c +1 -0
@@ -961,6 +961,7 @@ static const struct of_device_id mv88e6xxx_of_match[] = { }, {}, }; +MODULE_DEVICE_TABLE (of, mv88e6xxx_of_match);static struct driver mv88e6xxx_driver = { .name ="mv88e6085" ,
drivers/net/realtek-dsa/realtek-mdio.c +1 -0
@@ -210,6 +210,7 @@ static const struct of_device_id realtek_mdio_of_match[] = { { /* sentinel */ }, };MODULE_DEVICE_TABLE (of, realtek_mdio_of_match); +MODULE_DEVICE_TABLE (of, realtek_mdio_of_match);static struct phy_driver realtek_mdio_driver = { .drv = {
drivers/net/realtek-dsa/realtek-smi.c +1 -0
@@ -489,6 +489,7 @@ static const struct of_device_id realtek_smi_of_match[] = { { /* sentinel */ }, };MODULE_DEVICE_TABLE (of, realtek_smi_of_match); +MODULE_DEVICE_TABLE (of, realtek_smi_of_match);static struct driver realtek_smi_driver = { .name ="realtek-smi" ,
drivers/net/sja1105.c +1 -0
@@ -2986,6 +2986,7 @@ static const struct of_device_id sja1105_ids[] = { { .compatible = "nxp,sja1110d", .data = &sja1110d_dcfg }, { } }; +MODULE_DEVICE_TABLE (of, sja1105_ids);static struct driver sja1105_driver = { .name ="sja1105" ,
drivers/net/smc91111.c +2 -0
@@ -1494,6 +1494,8 @@ static __maybe_unused struct of_device_id smc91c111_dt_ids[] = { }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, smc91c111_dt_ids); +MODULE_DEVICE_TABLE (of, smc91c111_dt_ids);static struct driver smc91c111_driver = { .of_compatible =DRV_OF_COMPAT (smc91c111_dt_ids),
drivers/net/smc911x.c +1 -0
@@ -642,6 +642,7 @@ static const struct of_device_id smsc911x_dt_ids[] = { { .compatible = "smsc,lan9115", }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, smsc911x_dt_ids);static struct driver smc911x_driver = { .name ="smc911x" ,
drivers/nvmem/bsec.c +1 -0
@@ -196,6 +196,7 @@ static __maybe_unused struct of_device_id stm32_bsec_dt_ids[] = { { .compatible = "st,stm32mp15-bsec", .data = &stm32mp15_bsec_data }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, stm32_bsec_dt_ids);static struct driver stm32_bsec_driver = { .name ="stm32_bsec" ,
drivers/nvmem/eeprom_93xx46.c +1 -0
@@ -300,6 +300,7 @@ static const struct of_device_id eeprom_93xx46_of_table[] = { { .compatible = "atmel,at93c46d", .data = &atmel_at93c46d_data, }, {} }; +MODULE_DEVICE_TABLE (of, eeprom_93xx46_of_table);static int eeprom_93xx46_probe_dt (struct spi_device *spi) {
drivers/nvmem/kvx-otp-nv.c +1 -0
@@ -53,6 +53,7 @@ static const struct of_device_id kvx_otp_nv_match[] = { { .compatible = "kalray,kvx-otp-nv" }, { /* sentinel */}, }; +MODULE_DEVICE_TABLE (of, kvx_otp_nv_match);static int kvx_otp_nv_probe (struct device *dev) {
drivers/nvmem/ocotp.c +1 -0
@@ -992,6 +992,7 @@ static __maybe_unused struct of_device_id imx_ocotp_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_ocotp_dt_ids);static struct driver imx_ocotp_driver = { .name ="imx_ocotp" ,
drivers/nvmem/rave-sp-eeprom.c +1 -0
@@ -340,6 +340,7 @@ static __maybe_unused const struct of_device_id rave_sp_eeprom_of_match[] = { { .compatible = "zii,rave-sp-eeprom" }, {} }; +MODULE_DEVICE_TABLE (of, rave_sp_eeprom_of_match);static struct driver rave_sp_eeprom_driver = { .name ="rave-sp-eeprom" ,
drivers/nvmem/rmem.c +1 -0
@@ -50,6 +50,7 @@ static const struct of_device_id rmem_match[] = { { .compatible = "nvmem-rmem", }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, rmem_match);static struct driver rmem_driver = { .name ="rmem" ,
drivers/nvmem/snvs_lpgpr.c +1 -0
@@ -124,6 +124,7 @@ static __maybe_unused struct of_device_id snvs_lpgpr_dt_ids[] = { { .compatible = "fsl,imx6ul-snvs-lpgpr", .data = &snvs_lpgpr_cfg_imx6q }, { }, }; +MODULE_DEVICE_TABLE (of, snvs_lpgpr_dt_ids);static struct driver snvs_lpgpr_driver = { .name ="snvs_lpgpr" ,
drivers/nvmem/starfive-otp.c +1 -0
@@ -192,6 +192,7 @@ static struct of_device_id starfive_otp_dt_ids[] = { { .compatible = "starfive,fu740-otp" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, starfive_otp_dt_ids);static struct driver starfive_otp_driver = { .name ="starfive_otp" ,
drivers/of/barebox.c +1 -0
@@ -80,6 +80,7 @@ static struct of_device_id environment_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, environment_dt_ids);static struct driver environment_driver = { .name ="barebox-environment" ,
drivers/of/base.c +2 -0
@@ -2504,6 +2504,7 @@ const struct of_device_id of_default_bus_match_table[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, of_default_bus_match_table);static int of_probe_memory (void ) {
@@ -2552,6 +2553,7 @@ static const struct of_device_id reserved_mem_matches[] = { { .compatible = "nvmem-rmem" }, {} }; +MODULE_DEVICE_TABLE (of, reserved_mem_matches);/** * of_probe - Probe unflattened device tree starting at of_get_root_node
drivers/pci/pci-ecam-generic.c +1 -0
@@ -198,6 +198,7 @@ static struct of_device_id pcie_ecam_dt_ids[] = { { .compatible = "pci-host-ecam-generic" }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, pcie_ecam_dt_ids);static struct driver pcie_ecam_driver = { .name ="pcie-generic-ecam" ,
drivers/pci/pci-imx6.c +1 -0
@@ -874,6 +874,7 @@ static struct of_device_id imx6_pcie_of_match[] = { { .compatible = "fsl,imx8mq-pcie", .data = &drvdata[IMX8MQ], } , {}, }; +MODULE_DEVICE_TABLE (of, imx6_pcie_of_match);static struct driver imx6_pcie_driver = { .name ="imx6-pcie" ,
drivers/pci/pci-layerscape.c +1 -0
@@ -312,6 +312,7 @@ static const struct of_device_id ls_pcie_of_match[] = { { .compatible = "fsl,ls1088a-pcie", .data = &ls2088_drvdata }, { }, }; +MODULE_DEVICE_TABLE (of, ls_pcie_of_match);static int __init ls_add_pcie_port (struct ls_pcie *pcie) {
drivers/pci/pci-mvebu.c +1 -0
@@ -395,6 +395,7 @@ static struct of_device_id mvebu_pcie_dt_ids[] = {#endif { }, }; +MODULE_DEVICE_TABLE (of, mvebu_pcie_dt_ids);static int mvebu_pcie_probe (struct device *dev) {
drivers/pci/pci-tegra.c +1 -0
@@ -1230,6 +1230,7 @@ static __maybe_unused struct of_device_id tegra_pcie_of_match[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, tegra_pcie_of_match);static int tegra_pcie_probe (struct device *dev) {
drivers/pci/pcie-dw-rockchip.c +1 -0
@@ -290,6 +290,7 @@ static const struct of_device_id rockchip_pcie_of_match[] = { { .compatible = "rockchip,rk3588-pcie", }, {}, }; +MODULE_DEVICE_TABLE (of, rockchip_pcie_of_match);static struct driver rockchip_pcie_driver = { .name ="rockchip-dw-pcie" ,
drivers/phy/freescale/phy-fsl-imx8mq-usb.c +1 -0
@@ -141,6 +141,7 @@ static const struct of_device_id imx8mq_usb_phy_of_match[] = { .data = &imx8mp_usb_phy_ops,}, { } }; +MODULE_DEVICE_TABLE (of, imx8mq_usb_phy_of_match);static struct phy *imx8mq_usb_phy_xlate (struct device *dev,struct of_phandle_args *args)
drivers/phy/rockchip/phy-rockchip-inno-usb2.c +1 -0
@@ -987,6 +987,7 @@ static const struct of_device_id rockchip_usb2phy_dt_match[] = { { .compatible = "rockchip,rv1108-usb2phy", .data = &rv1108_phy_cfgs }, { } }; +MODULE_DEVICE_TABLE (of, rockchip_usb2phy_dt_match);static struct driver rockchip_usb2phy_driver = { .probe = rockchip_usb2phy_probe,
drivers/phy/rockchip/phy-rockchip-naneng-combphy.c +1 -0
@@ -865,6 +865,7 @@ static const struct of_device_id rockchip_combphy_of_match[] = { }, { }, }; +MODULE_DEVICE_TABLE (of, rockchip_combphy_of_match);static struct driver rockchip_combphy_driver = { .probe = rockchip_combphy_probe,
drivers/phy/usb-nop-xceiv.c +1 -0
@@ -130,6 +130,7 @@ static __maybe_unused struct of_device_id nop_usbphy_dt_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, nop_usbphy_dt_ids);static struct driver nop_usbphy_driver = { .name ="usb-nop-xceiv" ,
drivers/pinctrl/imx-iomux-v1.c +1 -0
@@ -296,6 +296,7 @@ static __maybe_unused struct of_device_id imx_iomux_v1_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_iomux_v1_dt_ids);static struct driver imx_iomux_v1_driver = { .name ="imx-iomuxv1" ,
drivers/pinctrl/imx-iomux-v2.c +1 -0
@@ -123,6 +123,7 @@ static __maybe_unused struct of_device_id imx_iomux_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_iomux_dt_ids);static struct platform_device_id imx_iomux_ids[] = { {
drivers/pinctrl/imx-iomux-v3.c +1 -0
@@ -251,6 +251,7 @@ static __maybe_unused struct of_device_id imx_iomux_v3_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_iomux_v3_dt_ids);static struct driver imx_iomux_v3_driver = { .name ="imx-iomuxv3" ,
drivers/pinctrl/mvebu/armada-370.c +1 -0
@@ -384,6 +384,7 @@ static struct of_device_id armada_370_pinctrl_of_match[] = { }, { }, }; +MODULE_DEVICE_TABLE (of, armada_370_pinctrl_of_match);static int armada_370_pinctrl_probe (struct device *dev) {
drivers/pinctrl/mvebu/armada-xp.c +1 -0
@@ -366,6 +366,7 @@ static struct of_device_id armada_xp_pinctrl_of_match[] = { { .compatible = "marvell,mv78460-pinctrl", .data = (void *)V_MV78460, }, { }, }; +MODULE_DEVICE_TABLE (of, armada_xp_pinctrl_of_match);static int armada_xp_pinctrl_probe (struct device *dev) {
drivers/pinctrl/mvebu/dove.c +1 -0
@@ -689,6 +689,7 @@ static struct of_device_id dove_pinctrl_of_match[] = { }, { } }; +MODULE_DEVICE_TABLE (of, dove_pinctrl_of_match);static int dove_pinctrl_probe (struct device *dev) {
drivers/pinctrl/mvebu/kirkwood.c +1 -0
@@ -425,6 +425,7 @@ static struct of_device_id kirkwood_pinctrl_of_match[] = { }, { } }; +MODULE_DEVICE_TABLE (of, kirkwood_pinctrl_of_match);static int kirkwood_pinctrl_probe (struct device *dev) {
drivers/pinctrl/pinctrl-at91-pio4.c +1 -0
@@ -306,6 +306,7 @@ static __maybe_unused struct of_device_id pinctrl_at91_pio4_dt_ids[] = { { .compatible = "atmel,sama5d2-pinctrl", .data = &sama5d2_pinctrl_data }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, pinctrl_at91_pio4_dt_ids);static struct driver pinctrl_at91_pio4_driver = { .name ="pinctrl-at91-pio4" ,
drivers/pinctrl/pinctrl-at91.c +2 -0
@@ -379,6 +379,7 @@ static struct of_device_id at91_pinctrl_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, at91_pinctrl_dt_ids);static struct at91_pinctrl_mux_ops *at91_pinctrl_get_driver_data (struct device *dev) {
@@ -624,6 +625,7 @@ static struct of_device_id at91_gpio_dt_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, at91_gpio_dt_ids);static int at91_gpio_probe (struct device *dev) {
drivers/pinctrl/pinctrl-bcm2835.c +1 -0
@@ -208,6 +208,7 @@ static __maybe_unused struct of_device_id bcm2835_gpio_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, bcm2835_gpio_dt_ids);static struct driver bcm2835_gpio_driver = { .name ="bcm2835-gpio" ,
drivers/pinctrl/pinctrl-mxs.c +1 -0
@@ -145,6 +145,7 @@ static __maybe_unused struct of_device_id mxs_pinctrl_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, mxs_pinctrl_dt_ids);static struct driver mxs_pinctrl_driver = { .name ="mxs-pinctrl" ,
drivers/pinctrl/pinctrl-rockchip.c +1 -0
@@ -2986,6 +2986,7 @@ static const struct of_device_id rockchip_pinctrl_dt_match[] = {#endif {}, }; +MODULE_DEVICE_TABLE (of, rockchip_pinctrl_dt_match);static struct driver rockchip_pinctrl_driver = { .name ="rockchip-pinctrl" ,
drivers/pinctrl/pinctrl-single.c +1 -0
@@ -203,6 +203,7 @@ static __maybe_unused struct of_device_id pcs_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, pcs_dt_ids);static struct driver pcs_driver = { .name ="pinctrl-single" ,
drivers/pinctrl/pinctrl-stm32.c +1 -0
@@ -390,6 +390,7 @@ static __maybe_unused struct of_device_id stm32_pinctrl_dt_ids[] = { { .compatible = "st,stm32mp157-z-pinctrl" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, stm32_pinctrl_dt_ids);static struct driver stm32_pinctrl_driver = { .name ="stm32-pinctrl" ,
drivers/pinctrl/pinctrl-tegra-xusb.c +1 -0
@@ -496,6 +496,7 @@ static __maybe_unused struct of_device_id pinctrl_tegra_xusb_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, pinctrl_tegra_xusb_dt_ids);static struct driver pinctrl_tegra_xusb_driver = { .name ="pinctrl-tegra-xusb" ,
drivers/pinctrl/pinctrl-tegra20.c +1 -0
@@ -328,6 +328,7 @@ static __maybe_unused struct of_device_id pinctrl_tegra20_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, pinctrl_tegra20_dt_ids);static struct driver pinctrl_tegra20_driver = { .name ="pinctrl-tegra20" ,
drivers/pinctrl/pinctrl-tegra30.c +1 -0
@@ -913,6 +913,7 @@ static __maybe_unused struct of_device_id pinctrl_tegra30_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, pinctrl_tegra30_dt_ids);static struct driver pinctrl_tegra30_driver = { .name ="pinctrl-tegra30" ,
drivers/pinctrl/pinctrl-vf610.c +1 -0
@@ -142,6 +142,7 @@ static __maybe_unused struct of_device_id pinctrl_vf610_dt_ids[] = { { .compatible = "fsl,vf610-iomuxc", }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, pinctrl_vf610_dt_ids);static struct driver pinctrl_vf610_driver = { .name ="vf610-pinctrl" ,
drivers/power/reset/gpio-poweroff.c +1 -0
@@ -79,6 +79,7 @@ static const struct of_device_id of_gpio_poweroff_match[] = { { .compatible = "gpio-poweroff", }, {}, }; +MODULE_DEVICE_TABLE (of, of_gpio_poweroff_match);static struct driver gpio_poweroff_driver = { .name ="poweroff-gpio" ,
drivers/power/reset/gpio-restart.c +1 -0
@@ -86,6 +86,7 @@ static const struct of_device_id of_gpio_restart_match[] = { { .compatible = "gpio-restart", }, {}, }; +MODULE_DEVICE_TABLE (of, of_gpio_restart_match);static struct driver gpio_restart_driver = { .name ="restart-gpio" ,
drivers/power/reset/htif-poweroff.c +1 -0
@@ -37,6 +37,7 @@ static const struct of_device_id htif_poweroff_of_match[] = { { .compatible = "ucb,htif0" }, {} }; +MODULE_DEVICE_TABLE (of, htif_poweroff_of_match);static struct driver htif_poweroff_driver = { .name ="htif-poweroff" ,
drivers/power/reset/nvmem-reboot-mode.c +1 -0
@@ -82,6 +82,7 @@ static const struct of_device_id nvmem_reboot_mode_of_match[] = { { .compatible = "nvmem-reboot-mode" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, nvmem_reboot_mode_of_match);static struct driver nvmem_reboot_mode_driver = { .probe = nvmem_reboot_mode_probe,
drivers/power/reset/syscon-poweroff.c +1 -0
@@ -66,6 +66,7 @@ static const struct of_device_id syscon_poweroff_of_match[] = { { .compatible = "syscon-poweroff" }, {} }; +MODULE_DEVICE_TABLE (of, syscon_poweroff_of_match);static struct driver syscon_poweroff_driver = { .name ="syscon-poweroff" ,
drivers/power/reset/syscon-reboot-mode.c +1 -0
@@ -120,6 +120,7 @@ static const struct of_device_id syscon_reboot_mode_of_match[] = { { .compatible = "barebox,syscon-reboot-mode", .data = &reboot_nofixup }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, syscon_reboot_mode_of_match);static struct driver syscon_reboot_mode_driver = { .probe = syscon_reboot_mode_probe,
drivers/power/reset/syscon-reboot.c +1 -0
@@ -84,6 +84,7 @@ static const struct of_device_id syscon_reboot_of_match[] = { { .compatible = "syscon-reboot" }, {} }; +MODULE_DEVICE_TABLE (of, syscon_reboot_of_match);static struct driver syscon_reboot_driver = { .probe = syscon_reboot_probe,
drivers/pwm/pwm-atmel.c +1 -0
@@ -410,6 +410,7 @@ static const struct of_device_id atmel_pwm_dt_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, atmel_pwm_dt_ids);static int id =-1 ;
drivers/pwm/pwm-imx.c +1 -0
@@ -200,6 +200,7 @@ static struct of_device_id imx_pwm_dt_ids[] = { { .compatible = "fsl,imx27-pwm", .data = &imx_pwm_data_v2, }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_pwm_dt_ids);static int imx_pwm_probe (struct device *dev) {
drivers/pwm/pwm-mxs.c +1 -0
@@ -146,6 +146,7 @@ static const struct of_device_id mxs_pwm_dt_ids[] = { { .compatible = "fsl,imx23-pwm", }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, mxs_pwm_dt_ids);static struct driver mxs_pwm_driver = { .name ="mxs-pwm" ,
drivers/pwm/pwm-stm32.c +1 -0
@@ -391,6 +391,7 @@ static const struct of_device_id stm32_pwm_of_match[] = { { .compatible = "st,stm32-pwm", }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, stm32_pwm_of_match);static struct driver stm32_pwm_driver = { .name ="stm32-pwm" ,
drivers/regulator/anatop-regulator.c +1 -0
@@ -138,6 +138,7 @@ static const struct of_device_id of_anatop_regulator_match_tbl[] = { { .compatible = "fsl,anatop-regulator", }, {/* end */ } }; +MODULE_DEVICE_TABLE (of, of_anatop_regulator_match_tbl);static struct driver anatop_regulator_driver = { .name ="anatop_regulator" ,
drivers/regulator/fixed.c +1 -0
@@ -90,6 +90,7 @@ static struct of_device_id regulator_fixed_of_ids[] = { { .compatible = "regulator-fixed", }, { } }; +MODULE_DEVICE_TABLE (of, regulator_fixed_of_ids);static struct driver regulator_fixed_driver = { .name ="regulator-fixed" ,
drivers/regulator/pfuze.c +1 -0
@@ -186,6 +186,7 @@ static __maybe_unused struct of_device_id pfuze_dt_ids[] = { { .compatible = "fsl,pfuze3001" }, { } }; +MODULE_DEVICE_TABLE (of, pfuze_dt_ids);static struct driver pfuze_i2c_driver = { .name ="pfuze-i2c" ,
drivers/regulator/stm32-pwr.c +1 -0
@@ -206,6 +206,7 @@ static const struct of_device_id stm32_pwr_of_match[] = { { .compatible = "st,stm32mp1,pwr-reg", }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, stm32_pwr_of_match);static struct driver stm32_pwr_driver = { .probe = stm32_pwr_regulator_probe,
drivers/regulator/stm32-vrefbuf.c +1 -0
@@ -203,6 +203,7 @@ static const struct of_device_id __maybe_unused stm32_vrefbuf_of_match[] = { { .compatible = "st,stm32-vrefbuf", }, {}, }; +MODULE_DEVICE_TABLE (of, stm32_vrefbuf_of_match);static struct driver stm32_vrefbuf_driver = { .probe = stm32_vrefbuf_probe,
drivers/regulator/stpmic1_regulator.c +1 -0
@@ -431,6 +431,7 @@ static __maybe_unused const struct of_device_id stpmic1_regulator_of_match[] = { { .compatible = "st,stpmic1-regulators" }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, stpmic1_regulator_of_match);static struct driver stpmic1_regulator_driver = { .name ="stpmic1-regulator" ,
drivers/remoteproc/imx_rproc.c +1 -0
@@ -533,6 +533,7 @@ static const struct of_device_id imx_rproc_of_match[] = { { .compatible = "fsl,imx8mq-cm4", .data = &imx_rproc_cfg_imx8mq }, {}, }; +MODULE_DEVICE_TABLE (of, imx_rproc_of_match);static struct driver imx_rproc_driver = { .name ="imx-rproc" ,
drivers/remoteproc/stm32_rproc.c +1 -0
@@ -190,6 +190,7 @@ static const struct of_device_id stm32_rproc_of_match[] = { { .compatible = "st,stm32mp1-m4" }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, stm32_rproc_of_match);static struct driver stm32_rproc_driver = { .name ="stm32-rproc" ,
drivers/reset/reset-imx7.c +1 -0
@@ -278,6 +278,7 @@ static const struct of_device_id imx7_reset_dt_ids[] = { { .compatible = "fsl,imx8mq-src", .data = &variant_imx8mq }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, imx7_reset_dt_ids);static struct driver imx7_reset_driver = { .name ="imx7d-src" ,
drivers/reset/reset-simple.c +1 -0
@@ -146,6 +146,7 @@ static const struct of_device_id reset_simple_dt_ids[] = { .data = &reset_simple_active_low }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, reset_simple_dt_ids);static int reset_simple_probe (struct device *dev) {
drivers/reset/reset-socfpga.c +1 -0
@@ -108,6 +108,7 @@ static const struct of_device_id socfpga_reset_dt_ids[] = { { .compatible = "altr,rst-mgr", }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, socfpga_reset_dt_ids);static struct driver socfpga_reset_driver = { .name ="socfpga_reset" ,
drivers/reset/reset-starfive-vic.c +1 -0
@@ -225,6 +225,7 @@ static const struct of_device_id starfive_rstgen_reset_dt_ids[] = { { .compatible = "starfive,jh7100-rstgen", .data = jh7110_rstgen_sync_resets }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, starfive_rstgen_reset_dt_ids);static struct driver starfive_rstgen_reset_driver = { .name ="starfive_rstgen" ,
drivers/rtc/rtc-imxdi.c +1 -0
@@ -599,6 +599,7 @@ static __maybe_unused const struct of_device_id dryice_dt_ids[] = { { .compatible = "fsl,imx25-rtc" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, dryice_dt_ids);static struct driver dryice_rtc_driver = { .name ="imx-di-rtc" ,
drivers/rtc/rtc-jz4740.c +1 -0
@@ -153,6 +153,7 @@ static __maybe_unused struct of_device_id jz4740_rtc_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, jz4740_rtc_dt_ids);static struct driver jz4740_rtc_driver = { .name ="jz4740-rtc" ,
drivers/serial/atmel.c +1 -0
@@ -447,6 +447,7 @@ static const struct of_device_id __maybe_unused atmel_serial_dt_ids[] = { { .compatible = "atmel,at91sam9260-usart" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, atmel_serial_dt_ids);static struct driver atmel_serial_driver = { .name ="atmel_usart" ,
drivers/serial/serial_ar933x.c +1 -0
@@ -188,6 +188,7 @@ static struct of_device_id ar933x_serial_dt_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, ar933x_serial_dt_ids);static struct driver ar933x_serial_driver = { .name ="ar933x_serial" ,
drivers/serial/serial_auart.c +1 -0
@@ -216,6 +216,7 @@ static const __maybe_unused struct of_device_id auart_serial_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, auart_serial_dt_ids);static struct driver auart_serial_driver = { .name ="auart_serial" ,
drivers/serial/serial_cadence.c +1 -0
@@ -240,6 +240,7 @@ static __maybe_unused struct of_device_id cadence_serial_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, cadence_serial_dt_ids);static struct platform_device_id cadence_serial_ids[] = { {
drivers/serial/serial_clps711x.c +1 -0
@@ -185,6 +185,7 @@ static const struct of_device_id __maybe_unused clps711x_uart_dt_ids[] = { { .compatible = "cirrus,ep7209-uart", }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, clps711x_uart_dt_ids);static struct driver clps711x_driver = { .name ="clps711x-uart" ,
drivers/serial/serial_digic.c +1 -0
@@ -117,6 +117,7 @@ static __maybe_unused struct of_device_id digic_serial_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, digic_serial_dt_ids);static struct driver digic_serial_driver = { .name ="digic-uart" ,
drivers/serial/serial_imx.c +1 -0
@@ -299,6 +299,7 @@ static __maybe_unused struct of_device_id imx_serial_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_serial_dt_ids);static struct platform_device_id imx_serial_ids[] = { {
drivers/serial/serial_litex.c +1 -0
@@ -90,6 +90,7 @@ static __maybe_unused struct of_device_id litex_serial_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, litex_serial_dt_ids);static struct driver litex_serial_driver = { .name ="litex-uart" ,
drivers/serial/serial_lpuart.c +1 -0
@@ -186,6 +186,7 @@ static struct of_device_id lpuart_serial_dt_ids[] = { { .compatible = "fsl,vf610-lpuart" }, {} }; +MODULE_DEVICE_TABLE (of, lpuart_serial_dt_ids);static struct driver lpuart_serial_driver = { .name ="lpuart-serial" ,
drivers/serial/serial_ns16550.c +1 -0
@@ -584,6 +584,7 @@ static struct of_device_id ns16550_serial_dt_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, ns16550_serial_dt_ids);static __maybe_unused struct platform_device_id ns16550_serial_ids[] = { {
drivers/serial/serial_sifive.c +1 -0
@@ -163,6 +163,7 @@ static __maybe_unused struct of_device_id sifive_serial_dt_ids[] = { { .compatible = "sifive,uart0" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, sifive_serial_dt_ids);static struct driver serial_sifive_driver = { .name ="serial_sifive" ,
drivers/serial/serial_stm32.c +1 -0
@@ -240,6 +240,7 @@ static struct of_device_id stm32_serial_dt_ids[] = { }, { } }; +MODULE_DEVICE_TABLE (of, stm32_serial_dt_ids);static struct driver stm32_serial_driver = { .name ="stm32-serial" ,
drivers/serial/stm-serial.c +1 -0
@@ -180,6 +180,7 @@ static __maybe_unused struct of_device_id stm_serial_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, stm_serial_dt_ids);static struct driver stm_serial_driver = { .name ="stm_serial" ,
drivers/soc/imx/gpcv2.c +1 -0
@@ -1305,6 +1305,7 @@ static const struct of_device_id imx_gpcv2_dt_ids[] = { { .compatible = "fsl,imx8mq-gpc", .data = &imx8m_pgc_domain_data, }, { } }; +MODULE_DEVICE_TABLE (of, imx_gpcv2_dt_ids);static struct driver imx_gpcv2_driver = { .name ="imx-gpcv2" ,
drivers/soc/kvx/kvx_socinfo.c +1 -0
@@ -132,6 +132,7 @@ static const struct of_device_id kvx_socinfo_dt_ids[] = { { .compatible = "kalray,kvx-socinfo" }, { } }; +MODULE_DEVICE_TABLE (of, kvx_socinfo_dt_ids);static struct driver kvx_socinfo_driver = { .name ="kvx-socinfo" ,
drivers/soc/rockchip/io-domain.c +1 -0
@@ -125,6 +125,7 @@ static const struct of_device_id rockchip_iodomain_match[] = { .data = &soc_data_rk3568_pmu }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, rockchip_iodomain_match);static int rockchip_iodomain_probe (struct device *dev) {
drivers/soc/sifive/sifive_l2_cache.c +1 -0
@@ -127,6 +127,7 @@ static const struct of_device_id sifive_l2_ids[] = { { .compatible = "starfive,ccache0" }, { /* end of table */ }, }; +MODULE_DEVICE_TABLE (of, sifive_l2_ids);static struct driver sifive_l2_driver = { .name ="sfive-l2cache" ,
drivers/sound/gpio-beeper.c +1 -0
@@ -57,6 +57,7 @@ static const struct of_device_id gpio_beeper_match[] = { { .compatible = "gpio-beeper", }, { }, }; +MODULE_DEVICE_TABLE (of, gpio_beeper_match);static struct driver gpio_beeper_driver = { .name ="gpio-beeper" ,
drivers/sound/pwm-beeper.c +1 -0
@@ -115,6 +115,7 @@ static const struct of_device_id pwm_beeper_match[] = { { .compatible = "pwm-beeper", }, { }, }; +MODULE_DEVICE_TABLE (of, pwm_beeper_match);static struct driver pwm_beeper_driver = { .name ="pwm-beeper" ,
drivers/sound/sdl.c +1 -0
@@ -78,6 +78,7 @@ static __maybe_unused struct of_device_id sandbox_sound_dt_ids[] = { { .compatible = "barebox,sandbox-sound" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, sandbox_sound_dt_ids);static struct driver sandbox_sound_drv = { .name ="sandbox-sound" ,
drivers/spi/ath79_spi.c +1 -0
@@ -284,6 +284,7 @@ static __maybe_unused struct of_device_id ath79_spi_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, ath79_spi_dt_ids);static struct driver ath79_spi_driver = { .name ="ath79-spi" ,
drivers/spi/atmel-quadspi.c +1 -0
@@ -526,6 +526,7 @@ static const struct of_device_id atmel_qspi_dt_ids[] = { }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, atmel_qspi_dt_ids);static struct driver atmel_qspi_driver = { .name ="atmel_qspi" ,
drivers/spi/atmel_spi.c +1 -0
@@ -474,6 +474,7 @@ const static __maybe_unused struct of_device_id atmel_spi_dt_ids[] = { { .compatible = "atmel,at91rm9200-spi" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, atmel_spi_dt_ids);static struct driver atmel_spi_driver = { .name ="atmel_spi" ,
drivers/spi/dspi_spi.c +1 -0
@@ -400,6 +400,7 @@ static const struct of_device_id dspi_dt_ids[] = { { .compatible = "fsl,vf610-dspi", .data = (void *)&vf610_data, }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, dspi_dt_ids);static struct driver dspi_spi_driver = { .name ="fsl-dspi" ,
drivers/spi/gpio_spi.c +1 -0
@@ -222,6 +222,7 @@ static struct of_device_id __maybe_unused gpio_spi_dt_ids[] = { { .compatible = "spi-gpio", }, { } }; +MODULE_DEVICE_TABLE (of, gpio_spi_dt_ids);static struct driver gpio_spi_driver = { .name ="gpio-spi" ,
drivers/spi/imx_spi.c +1 -0
@@ -671,6 +671,7 @@ static __maybe_unused struct of_device_id imx_spi_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_spi_dt_ids);static struct platform_device_id imx_spi_ids[] = { #if IS_ENABLED(CONFIG_DRIVER_SPI_IMX_0_0)
drivers/spi/litex_spiflash.c +1 -0
@@ -231,6 +231,7 @@ static __maybe_unused struct of_device_id litex_spiflash_spi_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, litex_spiflash_spi_dt_ids);static struct driver litex_spiflash_spi_driver = { .name ="litex-spiflash" ,
drivers/spi/mvebu_spi.c +1 -0
@@ -347,6 +347,7 @@ static struct of_device_id mvebu_spi_dt_ids[] = { .data = &mvebu_spi_set_baudrate }, { } }; +MODULE_DEVICE_TABLE (of, mvebu_spi_dt_ids);static int mvebu_spi_probe (struct device *dev) {
drivers/spi/omap3_spi.c +1 -0
@@ -422,6 +422,7 @@ static __maybe_unused struct of_device_id omap_spi_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, omap_spi_dt_ids);static struct platform_device_id omap_spi_ids[] = { {
drivers/spi/spi-fsl-dspi.c +1 -0
@@ -515,6 +515,7 @@ static const struct of_device_id fsl_dspi_dt_ids[] = { { .compatible = "fsl,ls2085a-dspi", .data = &ls2085a_data, }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, fsl_dspi_dt_ids);static const struct regmap_config dspi_regmap_config = { .reg_bits =32 ,
drivers/spi/spi-fsl-qspi.c +1 -0
@@ -860,6 +860,7 @@ static const struct of_device_id fsl_qspi_dt_ids[] = { { .compatible = "fsl,ls2080a-qspi", .data = &ls2080a_data, }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, fsl_qspi_dt_ids);static struct driver fsl_qspi_driver = { .name ="fsl-quadspi" ,
drivers/spi/spi-nxp-fspi.c +1 -0
@@ -1053,6 +1053,7 @@ static const struct of_device_id nxp_fspi_dt_ids[] = { { .compatible = "nxp,imx8dxl-fspi", .data = (void *)&imx8dxl_data, }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, nxp_fspi_dt_ids);static struct driver nxp_fspi_driver = { .name ="nxp-fspi" ,
drivers/spi/spi-sifive.c +1 -0
@@ -512,6 +512,7 @@ static const struct of_device_id sifive_spi_ids[] = { { .compatible = "sifive,spi0" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, sifive_spi_ids);static struct driver sifive_spi_driver = { .name ="sifive_spi" ,
drivers/spi/stm32_spi.c +1 -0
@@ -628,6 +628,7 @@ static const struct of_device_id stm32_spi_ids[] = { { .compatible = "st,stm32h7-spi", }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, stm32_spi_ids);static struct driver stm32_spi_driver = { .name ="stm32_spi" ,
drivers/spi/zynq_qspi.c +1 -0
@@ -603,6 +603,7 @@ static const struct of_device_id zynq_qspi_of_match[] = { { .compatible = "xlnx,zynq-qspi-1.0", }, {/* end of table */ } }; +MODULE_DEVICE_TABLE (of, zynq_qspi_of_match);static struct driver zynq_qspi_driver = { .name ="zynq-qspi" ,
drivers/usb/dwc2/dwc2.c +1 -0
@@ -203,6 +203,7 @@ static const struct of_device_id dwc2_platform_dt_ids[] = { .data = dwc2_set_stm32mp15_hsotg_params }, { } }; +MODULE_DEVICE_TABLE (of, dwc2_platform_dt_ids);static struct driver dwc2_driver = { .name = "dwc2",
drivers/usb/dwc3/core.c +1 -0
@@ -1497,6 +1497,7 @@ static const struct of_device_id of_dwc3_match[] = { }, { }, }; +MODULE_DEVICE_TABLE (of, of_dwc3_match);static struct driver dwc3_driver = { .probe = dwc3_probe,
drivers/usb/dwc3/dwc3-of-simple.c +1 -0
@@ -75,6 +75,7 @@ static const struct of_device_id of_dwc3_simple_match[] = { {.compatible = "amlogic,meson-gxl-dwc3"}, {.compatible = "allwinner,sun50i-h6-dwc3"}, {/* Sentinel */ }}; +MODULE_DEVICE_TABLE (of, of_dwc3_simple_match);static struct driver dwc3_of_simple_driver = { .probe = dwc3_of_simple_probe,
drivers/usb/gadget/udc/at91_udc.c +1 -0
@@ -1522,6 +1522,7 @@ static const struct of_device_id at91_udc_dt_ids[] = { { .compatible = "atmel,at91sam9263-udc" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, at91_udc_dt_ids);static struct driver at91_udc_driver = { .name = driver_name,
drivers/usb/host/ehci-atmel.c +1 -0
@@ -113,6 +113,7 @@ static const struct of_device_id atmel_ehci_dt_ids[] = { { .compatible = "atmel,at91sam9g45-ehci" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, atmel_ehci_dt_ids);static struct driver atmel_ehci_driver = { .name ="atmel-ehci" ,
drivers/usb/host/ehci-hcd.c +1 -0
@@ -1479,6 +1479,7 @@ static __maybe_unused struct of_device_id ehci_platform_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, ehci_platform_dt_ids);static struct driver ehci_driver = { .name ="ehci" ,
drivers/usb/host/ohci-at91.c +1 -0
@@ -194,6 +194,7 @@ static const struct of_device_id at91_ohci_dt_ids[] = { { .compatible = "atmel,at91rm9200-ohci" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, at91_ohci_dt_ids);static struct driver at91_ohci_driver = { .name ="at91_ohci" ,
drivers/usb/imx/chipidea-imx.c +1 -0
@@ -363,6 +363,7 @@ static __maybe_unused struct of_device_id imx_chipidea_dt_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, imx_chipidea_dt_ids);static struct driver imx_chipidea_driver = { .name ="imx-usb" ,
drivers/usb/imx/imx-usb-misc.c +1 -0
@@ -622,6 +622,7 @@ static __maybe_unused struct of_device_id imx_usbmisc_dt_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, imx_usbmisc_dt_ids);int imx_usbmisc_port_init (struct device *dev,int port,unsigned flags) {
drivers/usb/imx/imx-usb-phy.c +1 -0
@@ -229,6 +229,7 @@ static __maybe_unused struct of_device_id imx_usbphy_dt_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, imx_usbphy_dt_ids);static struct driver imx_usbphy_driver = { .name ="imx-usb-phy" ,
drivers/usb/misc/onboard_usb_hub.h +1 -0
@@ -49,5 +49,6 @@ static const struct of_device_id onboard_hub_match[] = { { .compatible = "usb2109,2817", .data = &vialab_vl817_data, }, {} }; +MODULE_DEVICE_TABLE (of, onboard_hub_match);#endif /* _USB_MISC_ONBOARD_USB_HUB_H */
drivers/usb/misc/usb251xb.c +1 -0
@@ -608,6 +608,7 @@ static const struct of_device_id usb251xb_of_match[] = { /* sentinel */ } }; +MODULE_DEVICE_TABLE (of, usb251xb_of_match);#else /* CONFIG_OFDEVICE */ static int usb251xb_get_ofdata (struct usb251xb *hub,struct usb251xb_data *data)
drivers/usb/musb/musb_am335x.c +1 -0
@@ -21,6 +21,7 @@ static __maybe_unused struct of_device_id am335x_child_dt_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, am335x_child_dt_ids);static struct driver am335x_child_driver = { .name ="am335x_child_probe" ,
drivers/usb/musb/musb_dsps.c +1 -0
@@ -428,6 +428,7 @@ static __maybe_unused struct of_device_id musb_dsps_dt_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, musb_dsps_dt_ids);static struct driver dsps_usbss_driver = { .name ="musb-dsps" ,
drivers/usb/musb/phy-am335x-control.c +1 -0
@@ -102,6 +102,7 @@ static __maybe_unused struct of_device_id omap_control_usb_dt_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, omap_control_usb_dt_ids);struct phy_control *am335x_get_phy_control (struct device *dev) {
drivers/usb/musb/phy-am335x.c +1 -0
@@ -72,6 +72,7 @@ static __maybe_unused struct of_device_id am335x_phy_dt_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, am335x_phy_dt_ids);static struct driver am335x_phy_driver = { .name ="am335x-phy-driver" ,
drivers/video/atmel_lcdfb.c +1 -0
@@ -263,6 +263,7 @@ static __maybe_unused struct of_device_id atmel_lcdfb_compatible[] = { { .compatible = "atmel,at32ap-lcdc", .data = &at32ap_config, }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, atmel_lcdfb_compatible);static struct driver atmel_lcdc_driver = { .name ="atmel_lcdfb" ,
drivers/video/backlight-pwm.c +1 -0
@@ -209,6 +209,7 @@ static struct of_device_id backlight_pwm_of_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, backlight_pwm_of_ids);static struct driver backlight_pwm_of_driver = { .name ="pwm-backlight" ,
drivers/video/imx-ipu-v3/imx-hdmi.c +1 -0
@@ -1197,6 +1197,7 @@ static struct of_device_id dw_hdmi_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, dw_hdmi_dt_ids);static int dw_hdmi_get_modes (struct dw_hdmi *hdmi,struct display_timings *timings) {
drivers/video/imx-ipu-v3/imx-ldb.c +1 -0
@@ -403,6 +403,7 @@ static struct of_device_id imx_ldb_dt_ids[] = { { .compatible = "fsl,imx53-ldb", &imx_ldb_data_imx53}, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_ldb_dt_ids);static struct driver imx_ldb_driver = { .probe = imx_ldb_probe,
drivers/video/imx-ipu-v3/imx-pd.c +1 -0
@@ -108,6 +108,7 @@ static struct of_device_id imx_pd_dt_ids[] = { { .compatible = "fsl,imx-parallel-display", }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_pd_dt_ids);static struct driver imx_pd_driver = { .probe = imx_pd_probe,
drivers/video/imx-ipu-v3/ipu-common.c +1 -0
@@ -609,6 +609,7 @@ static struct of_device_id imx_ipu_dt_ids[] = { { .compatible = "fsl,imx6q-ipu", .data = &ipu_type_imx6q, }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_ipu_dt_ids); static int ipu_submodules_init(struct ipu_soc *ipu, struct device *dev, void __iomem *ipu_base,
drivers/video/panel-ilitek-ili9341.c +1 -0
@@ -528,6 +528,7 @@ static const struct of_device_id ili9341_of_match[] = { }, { } }; +MODULE_DEVICE_TABLE (of, ili9341_of_match);static struct driver ili9341_driver = { .name ="panel-ilitek-ili9341" ,
drivers/video/rave-sp-backlight.c +1 -0
@@ -52,6 +52,7 @@ static const struct of_device_id rave_sp_backlight_of_match[] = { { .compatible = "zii,rave-sp-backlight" }, {} }; +MODULE_DEVICE_TABLE (of, rave_sp_backlight_of_match);static struct driver rave_sp_backlight_driver = { .name ="rave-sp-backlight" ,
drivers/video/simple-panel.c +1 -0
@@ -165,6 +165,7 @@ static struct of_device_id simple_panel_of_ids[] = { { .compatible = "simple-panel", }, { } }; +MODULE_DEVICE_TABLE (of, simple_panel_of_ids);static struct driver simple_panel_driver = { .name ="simple-panel" ,
drivers/video/simplefb-client.c +1 -0
@@ -138,6 +138,7 @@ static const struct of_device_id simplefb_of_match[] = { { .compatible = "simple-framebuffer", }, { }, }; +MODULE_DEVICE_TABLE (of, simplefb_of_match);static struct driver simplefb_driver = { .name ="simple-framebuffer" ,
drivers/video/ssd1307fb.c +1 -0
@@ -423,6 +423,7 @@ static const struct of_device_id ssd1307fb_of_match[] = { }, {}, }; +MODULE_DEVICE_TABLE (of, ssd1307fb_of_match);static int ssd1307fb_probe (struct device *dev) {
drivers/video/stm.c +1 -0
@@ -581,6 +581,7 @@ static __maybe_unused struct of_device_id stmfb_compatible[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, stmfb_compatible);static struct driver stmfb_driver = { .name ="stmfb" ,
drivers/video/stm32_ltdc.c +1 -0
@@ -327,6 +327,7 @@ static __maybe_unused struct of_device_id ltdc_ids[] = { { .compatible = "st,stm32-ltdc" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, ltdc_ids);static struct driver ltdc_driver = { .name ="stm32-ltdc" ,
drivers/virtio/virtio_mmio.c +1 -0
@@ -443,6 +443,7 @@ static const struct of_device_id virtio_mmio_match[] = { { .compatible = "virtio,mmio", }, {}, }; +MODULE_DEVICE_TABLE (of, virtio_mmio_match);static struct driver virtio_mmio_driver = { .probe = virtio_mmio_probe,
drivers/w1/masters/w1-gpio.c +1 -0
@@ -150,6 +150,7 @@ static __maybe_unused const struct of_device_id w1_gpio_dt_ids[] = { { .compatible = "w1-gpio" }, {} }; +MODULE_DEVICE_TABLE (of, w1_gpio_dt_ids);static struct driver w1_gpio_driver = { .name ="w1-gpio" ,
drivers/watchdog/ar9344_wdt.c +1 -0
@@ -124,6 +124,7 @@ static __maybe_unused struct of_device_id ar9344_wdt_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, ar9344_wdt_dt_ids);static struct driver ar9344_wdt_driver = { .name ="ar9344-wdt" ,
drivers/watchdog/at91sam9_wdt.c +1 -0
@@ -95,6 +95,7 @@ static const __maybe_unused struct of_device_id at91sam9x_wdt_dt_ids[] = { { .compatible = "atmel,sama5d4-wdt", }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, at91sam9x_wdt_dt_ids);static struct driver at91sam9x_wdt_driver = { .name ="at91sam9x-wdt" ,
drivers/watchdog/bcm2835_wdt.c +1 -0
@@ -101,6 +101,7 @@ static __maybe_unused struct of_device_id bcm2835_wd_dt_ids[] = {/* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, bcm2835_wd_dt_ids);static struct driver bcm2835_wd_driver = { .name ="bcm2835_wd" ,
drivers/watchdog/davinci_wdt.c +1 -0
@@ -160,6 +160,7 @@ static __maybe_unused struct of_device_id davinci_wdt_of_match[] = { { .compatible = "ti,davinci-wdt", }, {}, }; +MODULE_DEVICE_TABLE (of, davinci_wdt_of_match);static struct driver platform_wdt_driver = { .name ="davinci-wdt" ,
drivers/watchdog/dw_wdt.c +1 -0
@@ -196,6 +196,7 @@ static struct of_device_id dw_wdt_of_match[] = { { .compatible = "snps,dw-wdt", }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, dw_wdt_of_match);static struct driver dw_wdt_driver = { .name ="dw-wdt" ,
drivers/watchdog/gpio_wdt.c +1 -0
@@ -129,6 +129,7 @@ static const struct of_device_id gpio_wdt_dt_ids[] = { { .compatible = "linux,wdt-gpio", }, { } }; +MODULE_DEVICE_TABLE (of, gpio_wdt_dt_ids);static struct driver gpio_wdt_driver = { .name ="gpio-wdt" ,
drivers/watchdog/im28wd.c +1 -0
@@ -227,6 +227,7 @@ static __maybe_unused struct of_device_id imx28_wdt_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx28_wdt_dt_ids);static struct driver imx28_wd_driver = { .name ="im28wd" ,
drivers/watchdog/imxwd.c +1 -0
@@ -352,6 +352,7 @@ static __maybe_unused struct of_device_id imx_wdt_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, imx_wdt_dt_ids);static struct platform_device_id imx_wdt_ids[] = { {
drivers/watchdog/jz4740.c +1 -0
@@ -89,6 +89,7 @@ static __maybe_unused struct of_device_id jz4740_wdt_dt_ids[] = {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, jz4740_wdt_dt_ids);static struct driver jz4740_wdt_driver = { .name ="jz4740-wdt" ,
drivers/watchdog/kvx_wdt.c +1 -0
@@ -83,6 +83,7 @@ static struct of_device_id kvx_wdt_of_match[] = { { .compatible = "kalray,kvx-core-watchdog", }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, kvx_wdt_of_match);static struct driver kvx_wdt_driver = { .name ="kvx-wdt" ,
drivers/watchdog/omap_wdt.c +1 -0
@@ -191,6 +191,7 @@ static const struct of_device_id omap_wdt_of_match[] = { { .compatible = "ti,omap3-wdt", }, {}, }; +MODULE_DEVICE_TABLE (of, omap_wdt_of_match);static struct driver omap_wdt_driver = { .probe = omap_wdt_probe,
drivers/watchdog/orion_wdt.c +1 -0
@@ -104,6 +104,7 @@ static const struct of_device_id orion_wdt_of_match[] = { .compatible = "marvell,armada-xp-wdt", }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE (of, orion_wdt_of_match);static struct driver orion_wdt_driver = { .probe = orion_wdt_probe,
drivers/watchdog/rave-sp-wdt.c +1 -0
@@ -252,6 +252,7 @@ static const struct of_device_id rave_sp_wdt_of_match[] = { }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, rave_sp_wdt_of_match);static int rave_sp_wdt_set_boot_source (struct param_d *param,void *priv) {
drivers/watchdog/rn5t568_wdt.c +1 -0
@@ -137,6 +137,7 @@ static __maybe_unused const struct of_device_id rn5t568_wdt_of_match[] = { { .compatible = "ricoh,rn5t568-wdt" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, rn5t568_wdt_of_match);static struct driver rn5t568_wdt_driver = { .name ="rn5t568-wdt" ,
drivers/watchdog/starfive_wdt.c +1 -0
@@ -97,6 +97,7 @@ static struct of_device_id starfive_wdt_of_match[] = { { .compatible = "starfive,wdt", }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, starfive_wdt_of_match);static struct driver starfive_wdt_driver = { .name ="starfive-wdt" ,
drivers/watchdog/stm32_iwdg.c +1 -0
@@ -125,6 +125,7 @@ static const struct of_device_id stm32_iwdg_of_match[] = { { .compatible = "st,stm32mp1-iwdg", .data = &stm32mp1_iwdg_data }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, stm32_iwdg_of_match);static int stm32_iwdg_probe (struct device *dev) {
drivers/watchdog/stpmic1_wdt.c +1 -0
@@ -208,6 +208,7 @@ static __maybe_unused const struct of_device_id stpmic1_wdt_of_match[] = { { .compatible = "st,stpmic1-wdt" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, stpmic1_wdt_of_match);static struct driver stpmic1_wdt_driver = { .name ="stpmic1-wdt" ,
fs/pstore/ram.c +1 -0
@@ -675,6 +675,7 @@ static const struct of_device_id ramoops_dt_ids[] = { { .compatible = "ramoops" }, { }, }; +MODULE_DEVICE_TABLE (of, ramoops_dt_ids);static struct driver ramoops_driver = { .name ="ramoops" ,
Signature · 1 line
2.39.2
Sascha Hauer
AppliedQuoted 5 lines · Ahmad Fatoum
Syncing device trees with Linux upstream can lead to breakage, when the device trees are switched to newer bindings, which are not yet supported in barebox. To make it easier to spot such issues, we want to start applying some heuristics to flag possibly problematic DT changes.
Quoted 7 lines
One step towards being able to do that is to know what nodes barebox actually consumes. Most of the nodes have a compatible entry, which is matched by an array of
of_device_id, so let's haveMODULE_DEVICE_TABLEpoint at it for future extraction.Signed-off-by Ahmad Fatoum <[email protected]>---
Applied, thanks
Sascha
Signature · 4 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |