1192 lines
39 KiB
Diff
1192 lines
39 KiB
Diff
Subject: add missing module symlink to /sys/bus/*/driver/* in struct of_platform_driver
|
|
Patch-mainline: Not yet
|
|
From: olh@suse.de
|
|
Patch-mainline: not yet
|
|
---
|
|
arch/powerpc/kernel/of_platform.c | 1 +
|
|
arch/powerpc/platforms/52xx/mpc52xx_gpio.c | 2 ++
|
|
arch/powerpc/platforms/52xx/mpc52xx_gpt.c | 1 +
|
|
arch/powerpc/platforms/82xx/ep8248e.c | 1 +
|
|
arch/powerpc/platforms/83xx/suspend.c | 1 +
|
|
arch/powerpc/platforms/cell/axon_msi.c | 1 +
|
|
arch/powerpc/platforms/pasemi/gpio_mdio.c | 1 +
|
|
arch/powerpc/sysdev/fsl_msi.c | 1 +
|
|
arch/powerpc/sysdev/fsl_rio.c | 1 +
|
|
arch/powerpc/sysdev/pmi.c | 1 +
|
|
arch/sparc/include/asm/parport.h | 1 +
|
|
arch/sparc/kernel/apc.c | 1 +
|
|
arch/sparc/kernel/auxio_64.c | 1 +
|
|
arch/sparc/kernel/central.c | 2 ++
|
|
arch/sparc/kernel/chmc.c | 1 +
|
|
arch/sparc/kernel/pci_fire.c | 1 +
|
|
arch/sparc/kernel/pci_psycho.c | 1 +
|
|
arch/sparc/kernel/pci_sabre.c | 1 +
|
|
arch/sparc/kernel/pci_schizo.c | 1 +
|
|
arch/sparc/kernel/pci_sun4v.c | 1 +
|
|
arch/sparc/kernel/pmc.c | 1 +
|
|
arch/sparc/kernel/power.c | 1 +
|
|
arch/sparc/kernel/time_32.c | 1 +
|
|
arch/sparc/kernel/time_64.c | 3 +++
|
|
drivers/ata/pata_of_platform.c | 1 +
|
|
drivers/ata/sata_fsl.c | 1 +
|
|
drivers/atm/fore200e.c | 1 +
|
|
drivers/char/hw_random/n2-drv.c | 1 +
|
|
drivers/char/hw_random/pasemi-rng.c | 1 +
|
|
drivers/char/ipmi/ipmi_si_intf.c | 1 +
|
|
drivers/crypto/amcc/crypto4xx_core.c | 1 +
|
|
drivers/crypto/talitos.c | 1 +
|
|
drivers/dma/fsldma.c | 1 +
|
|
drivers/hwmon/ultra45_env.c | 1 +
|
|
drivers/i2c/busses/i2c-ibm_iic.c | 1 +
|
|
drivers/infiniband/hw/ehca/ehca_main.c | 1 +
|
|
drivers/input/misc/sparcspkr.c | 2 ++
|
|
drivers/input/serio/i8042-sparcio.h | 1 +
|
|
drivers/input/serio/xilinx_ps2.c | 1 +
|
|
drivers/macintosh/smu.c | 1 +
|
|
drivers/macintosh/therm_pm72.c | 1 +
|
|
drivers/macintosh/therm_windtunnel.c | 1 +
|
|
drivers/mmc/host/sdhci-of-core.c | 1 +
|
|
drivers/mtd/maps/physmap_of.c | 1 +
|
|
drivers/mtd/maps/sun_uflash.c | 1 +
|
|
drivers/mtd/nand/fsl_elbc_nand.c | 1 +
|
|
drivers/mtd/nand/fsl_upm.c | 1 +
|
|
drivers/mtd/nand/ndfc.c | 1 +
|
|
drivers/mtd/nand/pasemi_nand.c | 1 +
|
|
drivers/mtd/nand/socrates_nand.c | 1 +
|
|
drivers/net/ehea/ehea_main.c | 1 +
|
|
drivers/net/fec_mpc52xx_phy.c | 1 +
|
|
drivers/net/fs_enet/fs_enet-main.c | 1 +
|
|
drivers/net/fs_enet/mii-bitbang.c | 1 +
|
|
drivers/net/fs_enet/mii-fec.c | 1 +
|
|
drivers/net/fsl_pq_mdio.c | 1 +
|
|
drivers/net/gianfar.c | 1 +
|
|
drivers/net/ibm_newemac/core.c | 1 +
|
|
drivers/net/ibm_newemac/mal.c | 1 +
|
|
drivers/net/ibm_newemac/rgmii.c | 1 +
|
|
drivers/net/ibm_newemac/tah.c | 1 +
|
|
drivers/net/ibm_newemac/zmii.c | 1 +
|
|
drivers/net/myri_sbus.c | 1 +
|
|
drivers/net/niu.c | 1 +
|
|
drivers/net/phy/mdio-gpio.c | 1 +
|
|
drivers/net/sunbmac.c | 1 +
|
|
drivers/net/sunhme.c | 1 +
|
|
drivers/net/sunlance.c | 1 +
|
|
drivers/net/sunqe.c | 1 +
|
|
drivers/net/ucc_geth.c | 1 +
|
|
drivers/parport/parport_sunbpp.c | 1 +
|
|
drivers/pcmcia/electra_cf.c | 1 +
|
|
drivers/pcmcia/m8xx_pcmcia.c | 1 +
|
|
drivers/sbus/char/bbc_i2c.c | 1 +
|
|
drivers/sbus/char/display7seg.c | 1 +
|
|
drivers/sbus/char/envctrl.c | 1 +
|
|
drivers/sbus/char/flash.c | 1 +
|
|
drivers/sbus/char/uctrl.c | 1 +
|
|
drivers/scsi/qlogicpti.c | 1 +
|
|
drivers/scsi/sun_esp.c | 1 +
|
|
drivers/serial/cpm_uart/cpm_uart_core.c | 1 +
|
|
drivers/serial/mpc52xx_uart.c | 1 +
|
|
drivers/serial/sunhv.c | 1 +
|
|
drivers/serial/sunsab.c | 1 +
|
|
drivers/serial/sunsu.c | 1 +
|
|
drivers/serial/sunzilog.c | 1 +
|
|
drivers/spi/spi_mpc8xxx.c | 1 +
|
|
drivers/usb/gadget/fsl_qe_udc.c | 1 +
|
|
drivers/usb/host/fhci-hcd.c | 1 +
|
|
drivers/usb/host/isp1760-if.c | 1 +
|
|
drivers/video/bw2.c | 1 +
|
|
drivers/video/cg14.c | 1 +
|
|
drivers/video/cg3.c | 1 +
|
|
drivers/video/cg6.c | 1 +
|
|
drivers/video/ffb.c | 1 +
|
|
drivers/video/leo.c | 1 +
|
|
drivers/video/p9100.c | 1 +
|
|
drivers/video/platinumfb.c | 1 +
|
|
drivers/video/tcx.c | 1 +
|
|
drivers/watchdog/cpwd.c | 1 +
|
|
drivers/watchdog/riowd.c | 1 +
|
|
sound/sparc/amd7930.c | 1 +
|
|
sound/sparc/cs4231.c | 1 +
|
|
sound/sparc/dbri.c | 1 +
|
|
104 files changed, 109 insertions(+)
|
|
|
|
--- a/arch/powerpc/kernel/of_platform.c
|
|
+++ b/arch/powerpc/kernel/of_platform.c
|
|
@@ -307,6 +307,7 @@ static struct of_device_id of_pci_phb_id
|
|
};
|
|
|
|
static struct of_platform_driver of_pci_phb_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.match_table = of_pci_phb_ids,
|
|
.probe = of_pci_phb_probe,
|
|
.driver = {
|
|
--- a/arch/powerpc/platforms/52xx/mpc52xx_gpio.c
|
|
+++ b/arch/powerpc/platforms/52xx/mpc52xx_gpio.c
|
|
@@ -192,6 +192,7 @@ static const struct of_device_id mpc52xx
|
|
};
|
|
|
|
static struct of_platform_driver mpc52xx_wkup_gpiochip_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "gpio_wkup",
|
|
.match_table = mpc52xx_wkup_gpiochip_match,
|
|
.probe = mpc52xx_wkup_gpiochip_probe,
|
|
@@ -348,6 +349,7 @@ static const struct of_device_id mpc52xx
|
|
};
|
|
|
|
static struct of_platform_driver mpc52xx_simple_gpiochip_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "gpio",
|
|
.match_table = mpc52xx_simple_gpiochip_match,
|
|
.probe = mpc52xx_simple_gpiochip_probe,
|
|
--- a/arch/powerpc/platforms/52xx/mpc52xx_gpt.c
|
|
+++ b/arch/powerpc/platforms/52xx/mpc52xx_gpt.c
|
|
@@ -783,6 +783,7 @@ static const struct of_device_id mpc52xx
|
|
};
|
|
|
|
static struct of_platform_driver mpc52xx_gpt_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "mpc52xx-gpt",
|
|
.match_table = mpc52xx_gpt_match,
|
|
.probe = mpc52xx_gpt_probe,
|
|
--- a/arch/powerpc/platforms/82xx/ep8248e.c
|
|
+++ b/arch/powerpc/platforms/82xx/ep8248e.c
|
|
@@ -173,6 +173,7 @@ static struct of_platform_driver ep8248e
|
|
.match_table = ep8248e_mdio_match,
|
|
.probe = ep8248e_mdio_probe,
|
|
.remove = ep8248e_mdio_remove,
|
|
+ .owner = THIS_MODULE,
|
|
};
|
|
|
|
struct cpm_pin {
|
|
--- a/arch/powerpc/platforms/83xx/suspend.c
|
|
+++ b/arch/powerpc/platforms/83xx/suspend.c
|
|
@@ -423,6 +423,7 @@ static struct of_device_id pmc_match[] =
|
|
};
|
|
|
|
static struct of_platform_driver pmc_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "mpc83xx-pmc",
|
|
.match_table = pmc_match,
|
|
.probe = pmc_probe,
|
|
--- a/arch/powerpc/platforms/cell/axon_msi.c
|
|
+++ b/arch/powerpc/platforms/cell/axon_msi.c
|
|
@@ -446,6 +446,7 @@ static const struct of_device_id axon_ms
|
|
};
|
|
|
|
static struct of_platform_driver axon_msi_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.match_table = axon_msi_device_id,
|
|
.probe = axon_msi_probe,
|
|
.shutdown = axon_msi_shutdown,
|
|
--- a/arch/powerpc/platforms/pasemi/gpio_mdio.c
|
|
+++ b/arch/powerpc/platforms/pasemi/gpio_mdio.c
|
|
@@ -300,6 +300,7 @@ MODULE_DEVICE_TABLE(of, gpio_mdio_match)
|
|
|
|
static struct of_platform_driver gpio_mdio_driver =
|
|
{
|
|
+ .owner = THIS_MODULE,
|
|
.match_table = gpio_mdio_match,
|
|
.probe = gpio_mdio_probe,
|
|
.remove = gpio_mdio_remove,
|
|
--- a/arch/powerpc/sysdev/fsl_msi.c
|
|
+++ b/arch/powerpc/sysdev/fsl_msi.c
|
|
@@ -344,6 +344,7 @@ static const struct of_device_id fsl_of_
|
|
};
|
|
|
|
static struct of_platform_driver fsl_of_msi_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "fsl-msi",
|
|
.match_table = fsl_of_msi_ids,
|
|
.probe = fsl_of_msi_probe,
|
|
--- a/arch/powerpc/sysdev/fsl_rio.c
|
|
+++ b/arch/powerpc/sysdev/fsl_rio.c
|
|
@@ -1214,6 +1214,7 @@ static const struct of_device_id fsl_of_
|
|
};
|
|
|
|
static struct of_platform_driver fsl_of_rio_rpn_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "fsl-of-rio",
|
|
.match_table = fsl_of_rio_rpn_ids,
|
|
.probe = fsl_of_rio_rpn_probe,
|
|
--- a/arch/powerpc/sysdev/pmi.c
|
|
+++ b/arch/powerpc/sysdev/pmi.c
|
|
@@ -205,6 +205,7 @@ static int pmi_of_remove(struct of_devic
|
|
}
|
|
|
|
static struct of_platform_driver pmi_of_platform_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.match_table = pmi_match,
|
|
.probe = pmi_of_probe,
|
|
.remove = pmi_of_remove,
|
|
--- a/arch/sparc/include/asm/parport.h
|
|
+++ b/arch/sparc/include/asm/parport.h
|
|
@@ -232,6 +232,7 @@ static const struct of_device_id ecpp_ma
|
|
};
|
|
|
|
static struct of_platform_driver ecpp_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "ecpp",
|
|
.match_table = ecpp_match,
|
|
.probe = ecpp_probe,
|
|
--- a/arch/sparc/kernel/apc.c
|
|
+++ b/arch/sparc/kernel/apc.c
|
|
@@ -174,6 +174,7 @@ static struct of_device_id __initdata ap
|
|
MODULE_DEVICE_TABLE(of, apc_match);
|
|
|
|
static struct of_platform_driver apc_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "apc",
|
|
.match_table = apc_match,
|
|
.probe = apc_probe,
|
|
--- a/arch/sparc/kernel/auxio_64.c
|
|
+++ b/arch/sparc/kernel/auxio_64.c
|
|
@@ -132,6 +132,7 @@ static int __devinit auxio_probe(struct
|
|
}
|
|
|
|
static struct of_platform_driver auxio_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.match_table = auxio_match,
|
|
.probe = auxio_probe,
|
|
.driver = {
|
|
--- a/arch/sparc/kernel/central.c
|
|
+++ b/arch/sparc/kernel/central.c
|
|
@@ -148,6 +148,7 @@ static struct of_device_id __initdata cl
|
|
};
|
|
|
|
static struct of_platform_driver clock_board_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.match_table = clock_board_match,
|
|
.probe = clock_board_probe,
|
|
.driver = {
|
|
@@ -253,6 +254,7 @@ static struct of_device_id __initdata fh
|
|
};
|
|
|
|
static struct of_platform_driver fhc_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.match_table = fhc_match,
|
|
.probe = fhc_probe,
|
|
.driver = {
|
|
--- a/arch/sparc/kernel/chmc.c
|
|
+++ b/arch/sparc/kernel/chmc.c
|
|
@@ -811,6 +811,7 @@ static const struct of_device_id us3mc_m
|
|
MODULE_DEVICE_TABLE(of, us3mc_match);
|
|
|
|
static struct of_platform_driver us3mc_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "us3mc",
|
|
.match_table = us3mc_match,
|
|
.probe = us3mc_probe,
|
|
--- a/arch/sparc/kernel/pci_fire.c
|
|
+++ b/arch/sparc/kernel/pci_fire.c
|
|
@@ -508,6 +508,7 @@ static struct of_device_id __initdata fi
|
|
};
|
|
|
|
static struct of_platform_driver fire_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = DRIVER_NAME,
|
|
.match_table = fire_match,
|
|
.probe = fire_probe,
|
|
--- a/arch/sparc/kernel/pci_psycho.c
|
|
+++ b/arch/sparc/kernel/pci_psycho.c
|
|
@@ -602,6 +602,7 @@ static struct of_device_id __initdata ps
|
|
};
|
|
|
|
static struct of_platform_driver psycho_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = DRIVER_NAME,
|
|
.match_table = psycho_match,
|
|
.probe = psycho_probe,
|
|
--- a/arch/sparc/kernel/pci_sabre.c
|
|
+++ b/arch/sparc/kernel/pci_sabre.c
|
|
@@ -596,6 +596,7 @@ static struct of_device_id __initdata sa
|
|
};
|
|
|
|
static struct of_platform_driver sabre_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = DRIVER_NAME,
|
|
.match_table = sabre_match,
|
|
.probe = sabre_probe,
|
|
--- a/arch/sparc/kernel/pci_schizo.c
|
|
+++ b/arch/sparc/kernel/pci_schizo.c
|
|
@@ -1491,6 +1491,7 @@ static struct of_device_id __initdata sc
|
|
};
|
|
|
|
static struct of_platform_driver schizo_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = DRIVER_NAME,
|
|
.match_table = schizo_match,
|
|
.probe = schizo_probe,
|
|
--- a/arch/sparc/kernel/pci_sun4v.c
|
|
+++ b/arch/sparc/kernel/pci_sun4v.c
|
|
@@ -1009,6 +1009,7 @@ static struct of_device_id __initdata pc
|
|
};
|
|
|
|
static struct of_platform_driver pci_sun4v_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = DRIVER_NAME,
|
|
.match_table = pci_sun4v_match,
|
|
.probe = pci_sun4v_probe,
|
|
--- a/arch/sparc/kernel/pmc.c
|
|
+++ b/arch/sparc/kernel/pmc.c
|
|
@@ -79,6 +79,7 @@ static struct of_device_id __initdata pm
|
|
MODULE_DEVICE_TABLE(of, pmc_match);
|
|
|
|
static struct of_platform_driver pmc_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "pmc",
|
|
.match_table = pmc_match,
|
|
.probe = pmc_probe,
|
|
--- a/arch/sparc/kernel/power.c
|
|
+++ b/arch/sparc/kernel/power.c
|
|
@@ -60,6 +60,7 @@ static struct of_device_id __initdata po
|
|
};
|
|
|
|
static struct of_platform_driver power_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.match_table = power_match,
|
|
.probe = power_probe,
|
|
.driver = {
|
|
--- a/arch/sparc/kernel/time_32.c
|
|
+++ b/arch/sparc/kernel/time_32.c
|
|
@@ -185,6 +185,7 @@ static struct of_device_id __initdata cl
|
|
};
|
|
|
|
static struct of_platform_driver clock_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.match_table = clock_match,
|
|
.probe = clock_probe,
|
|
.driver = {
|
|
--- a/arch/sparc/kernel/time_64.c
|
|
+++ b/arch/sparc/kernel/time_64.c
|
|
@@ -462,6 +462,7 @@ static struct of_device_id __initdata rt
|
|
};
|
|
|
|
static struct of_platform_driver rtc_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.match_table = rtc_match,
|
|
.probe = rtc_probe,
|
|
.driver = {
|
|
@@ -494,6 +495,7 @@ static struct of_device_id __initdata bq
|
|
};
|
|
|
|
static struct of_platform_driver bq4802_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.match_table = bq4802_match,
|
|
.probe = bq4802_probe,
|
|
.driver = {
|
|
@@ -557,6 +559,7 @@ static struct of_device_id __initdata mo
|
|
};
|
|
|
|
static struct of_platform_driver mostek_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.match_table = mostek_match,
|
|
.probe = mostek_probe,
|
|
.driver = {
|
|
--- a/drivers/ata/pata_of_platform.c
|
|
+++ b/drivers/ata/pata_of_platform.c
|
|
@@ -91,6 +91,7 @@ static struct of_device_id pata_of_platf
|
|
MODULE_DEVICE_TABLE(of, pata_of_platform_match);
|
|
|
|
static struct of_platform_driver pata_of_platform_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "pata_of_platform",
|
|
.match_table = pata_of_platform_match,
|
|
.probe = pata_of_platform_probe,
|
|
--- a/drivers/ata/sata_fsl.c
|
|
+++ b/drivers/ata/sata_fsl.c
|
|
@@ -1426,6 +1426,7 @@ static struct of_device_id fsl_sata_matc
|
|
MODULE_DEVICE_TABLE(of, fsl_sata_match);
|
|
|
|
static struct of_platform_driver fsl_sata_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "fsl-sata",
|
|
.match_table = fsl_sata_match,
|
|
.probe = sata_fsl_probe,
|
|
--- a/drivers/atm/fore200e.c
|
|
+++ b/drivers/atm/fore200e.c
|
|
@@ -2693,6 +2693,7 @@ static const struct of_device_id fore200
|
|
MODULE_DEVICE_TABLE(of, fore200e_sba_match);
|
|
|
|
static struct of_platform_driver fore200e_sba_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "fore_200e",
|
|
.match_table = fore200e_sba_match,
|
|
.probe = fore200e_sba_probe,
|
|
--- a/drivers/char/hw_random/n2-drv.c
|
|
+++ b/drivers/char/hw_random/n2-drv.c
|
|
@@ -751,6 +751,7 @@ static const struct of_device_id n2rng_m
|
|
MODULE_DEVICE_TABLE(of, n2rng_match);
|
|
|
|
static struct of_platform_driver n2rng_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "n2rng",
|
|
.match_table = n2rng_match,
|
|
.probe = n2rng_probe,
|
|
--- a/drivers/char/hw_random/pasemi-rng.c
|
|
+++ b/drivers/char/hw_random/pasemi-rng.c
|
|
@@ -140,6 +140,7 @@ static struct of_device_id rng_match[] =
|
|
};
|
|
|
|
static struct of_platform_driver rng_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "pasemi-rng",
|
|
.match_table = rng_match,
|
|
.probe = rng_probe,
|
|
--- a/drivers/char/ipmi/ipmi_si_intf.c
|
|
+++ b/drivers/char/ipmi/ipmi_si_intf.c
|
|
@@ -2555,6 +2555,7 @@ static struct of_device_id ipmi_match[]
|
|
};
|
|
|
|
static struct of_platform_driver ipmi_of_platform_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "ipmi",
|
|
.match_table = ipmi_match,
|
|
.probe = ipmi_of_probe,
|
|
--- a/drivers/crypto/amcc/crypto4xx_core.c
|
|
+++ b/drivers/crypto/amcc/crypto4xx_core.c
|
|
@@ -1280,6 +1280,7 @@ static const struct of_device_id crypto4
|
|
};
|
|
|
|
static struct of_platform_driver crypto4xx_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "crypto4xx",
|
|
.match_table = crypto4xx_match,
|
|
.probe = crypto4xx_probe,
|
|
--- a/drivers/crypto/talitos.c
|
|
+++ b/drivers/crypto/talitos.c
|
|
@@ -1967,6 +1967,7 @@ static const struct of_device_id talitos
|
|
MODULE_DEVICE_TABLE(of, talitos_match);
|
|
|
|
static struct of_platform_driver talitos_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "talitos",
|
|
.match_table = talitos_match,
|
|
.probe = talitos_probe,
|
|
--- a/drivers/dma/fsldma.c
|
|
+++ b/drivers/dma/fsldma.c
|
|
@@ -1408,6 +1408,7 @@ static const struct of_device_id fsldma_
|
|
};
|
|
|
|
static struct of_platform_driver fsldma_of_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "fsl-elo-dma",
|
|
.match_table = fsldma_of_ids,
|
|
.probe = fsldma_of_probe,
|
|
--- a/drivers/hwmon/ultra45_env.c
|
|
+++ b/drivers/hwmon/ultra45_env.c
|
|
@@ -300,6 +300,7 @@ static const struct of_device_id env_mat
|
|
MODULE_DEVICE_TABLE(of, env_match);
|
|
|
|
static struct of_platform_driver env_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "ultra45_env",
|
|
.match_table = env_match,
|
|
.probe = env_probe,
|
|
--- a/drivers/i2c/busses/i2c-ibm_iic.c
|
|
+++ b/drivers/i2c/busses/i2c-ibm_iic.c
|
|
@@ -807,6 +807,7 @@ static const struct of_device_id ibm_iic
|
|
};
|
|
|
|
static struct of_platform_driver ibm_iic_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "ibm-iic",
|
|
.match_table = ibm_iic_match,
|
|
.probe = iic_probe,
|
|
--- a/drivers/infiniband/hw/ehca/ehca_main.c
|
|
+++ b/drivers/infiniband/hw/ehca/ehca_main.c
|
|
@@ -937,6 +937,7 @@ MODULE_DEVICE_TABLE(of, ehca_device_tabl
|
|
|
|
static struct of_platform_driver ehca_driver = {
|
|
.name = "ehca",
|
|
+ .owner = THIS_MODULE,
|
|
.match_table = ehca_device_table,
|
|
.probe = ehca_probe,
|
|
.remove = ehca_remove,
|
|
--- a/drivers/input/misc/sparcspkr.c
|
|
+++ b/drivers/input/misc/sparcspkr.c
|
|
@@ -258,6 +258,7 @@ static const struct of_device_id bbc_bee
|
|
};
|
|
|
|
static struct of_platform_driver bbc_beep_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "bbcbeep",
|
|
.match_table = bbc_beep_match,
|
|
.probe = bbc_beep_probe,
|
|
@@ -337,6 +338,7 @@ static const struct of_device_id grover_
|
|
};
|
|
|
|
static struct of_platform_driver grover_beep_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "groverbeep",
|
|
.match_table = grover_beep_match,
|
|
.probe = grover_beep_probe,
|
|
--- a/drivers/input/serio/i8042-sparcio.h
|
|
+++ b/drivers/input/serio/i8042-sparcio.h
|
|
@@ -96,6 +96,7 @@ static const struct of_device_id sparc_i
|
|
MODULE_DEVICE_TABLE(of, sparc_i8042_match);
|
|
|
|
static struct of_platform_driver sparc_i8042_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "i8042",
|
|
.match_table = sparc_i8042_match,
|
|
.probe = sparc_i8042_probe,
|
|
--- a/drivers/input/serio/xilinx_ps2.c
|
|
+++ b/drivers/input/serio/xilinx_ps2.c
|
|
@@ -361,6 +361,7 @@ static const struct of_device_id xps2_of
|
|
MODULE_DEVICE_TABLE(of, xps2_of_match);
|
|
|
|
static struct of_platform_driver xps2_of_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = DRIVER_NAME,
|
|
.match_table = xps2_of_match,
|
|
.probe = xps2_of_probe,
|
|
--- a/drivers/macintosh/smu.c
|
|
+++ b/drivers/macintosh/smu.c
|
|
@@ -670,6 +670,7 @@ static const struct of_device_id smu_pla
|
|
|
|
static struct of_platform_driver smu_of_platform_driver =
|
|
{
|
|
+ .owner = THIS_MODULE,
|
|
.name = "smu",
|
|
.match_table = smu_platform_match,
|
|
.probe = smu_platform_probe,
|
|
--- a/drivers/macintosh/therm_pm72.c
|
|
+++ b/drivers/macintosh/therm_pm72.c
|
|
@@ -2239,6 +2239,7 @@ static const struct of_device_id fcu_mat
|
|
|
|
static struct of_platform_driver fcu_of_platform_driver =
|
|
{
|
|
+ .owner = THIS_MODULE,
|
|
.name = "temperature",
|
|
.match_table = fcu_match,
|
|
.probe = fcu_of_probe,
|
|
--- a/drivers/macintosh/therm_windtunnel.c
|
|
+++ b/drivers/macintosh/therm_windtunnel.c
|
|
@@ -464,6 +464,7 @@ static const struct of_device_id therm_o
|
|
};
|
|
|
|
static struct of_platform_driver therm_of_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "temperature",
|
|
.match_table = therm_of_match,
|
|
.probe = therm_of_probe,
|
|
--- a/drivers/mmc/host/sdhci-of-core.c
|
|
+++ b/drivers/mmc/host/sdhci-of-core.c
|
|
@@ -205,6 +205,7 @@ static const struct of_device_id sdhci_o
|
|
MODULE_DEVICE_TABLE(of, sdhci_of_match);
|
|
|
|
static struct of_platform_driver sdhci_of_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.driver.name = "sdhci-of",
|
|
.match_table = sdhci_of_match,
|
|
.probe = sdhci_of_probe,
|
|
--- a/drivers/mtd/maps/physmap_of.c
|
|
+++ b/drivers/mtd/maps/physmap_of.c
|
|
@@ -374,6 +374,7 @@ static struct of_device_id of_flash_matc
|
|
MODULE_DEVICE_TABLE(of, of_flash_match);
|
|
|
|
static struct of_platform_driver of_flash_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "of-flash",
|
|
.match_table = of_flash_match,
|
|
.probe = of_flash_probe,
|
|
--- a/drivers/mtd/maps/sun_uflash.c
|
|
+++ b/drivers/mtd/maps/sun_uflash.c
|
|
@@ -148,6 +148,7 @@ static const struct of_device_id uflash_
|
|
MODULE_DEVICE_TABLE(of, uflash_match);
|
|
|
|
static struct of_platform_driver uflash_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = DRIVER_NAME,
|
|
.match_table = uflash_match,
|
|
.probe = uflash_probe,
|
|
--- a/drivers/mtd/nand/fsl_elbc_nand.c
|
|
+++ b/drivers/mtd/nand/fsl_elbc_nand.c
|
|
@@ -1079,6 +1079,7 @@ static const struct of_device_id fsl_elb
|
|
static struct of_platform_driver fsl_elbc_ctrl_driver = {
|
|
.driver = {
|
|
.name = "fsl-elbc",
|
|
+ .owner = THIS_MODULE,
|
|
},
|
|
.match_table = fsl_elbc_match,
|
|
.probe = fsl_elbc_ctrl_probe,
|
|
--- a/drivers/mtd/nand/fsl_upm.c
|
|
+++ b/drivers/mtd/nand/fsl_upm.c
|
|
@@ -356,6 +356,7 @@ static struct of_device_id of_fun_match[
|
|
MODULE_DEVICE_TABLE(of, of_fun_match);
|
|
|
|
static struct of_platform_driver of_fun_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "fsl,upm-nand",
|
|
.match_table = of_fun_match,
|
|
.probe = fun_probe,
|
|
--- a/drivers/mtd/nand/ndfc.c
|
|
+++ b/drivers/mtd/nand/ndfc.c
|
|
@@ -292,6 +292,7 @@ static const struct of_device_id ndfc_ma
|
|
MODULE_DEVICE_TABLE(of, ndfc_match);
|
|
|
|
static struct of_platform_driver ndfc_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.driver = {
|
|
.name = "ndfc",
|
|
},
|
|
--- a/drivers/mtd/nand/pasemi_nand.c
|
|
+++ b/drivers/mtd/nand/pasemi_nand.c
|
|
@@ -221,6 +221,7 @@ MODULE_DEVICE_TABLE(of, pasemi_nand_matc
|
|
|
|
static struct of_platform_driver pasemi_nand_driver =
|
|
{
|
|
+ .owner = THIS_MODULE,
|
|
.name = (char*)driver_name,
|
|
.match_table = pasemi_nand_match,
|
|
.probe = pasemi_nand_probe,
|
|
--- a/drivers/mtd/nand/socrates_nand.c
|
|
+++ b/drivers/mtd/nand/socrates_nand.c
|
|
@@ -301,6 +301,7 @@ static struct of_device_id socrates_nand
|
|
MODULE_DEVICE_TABLE(of, socrates_nand_match);
|
|
|
|
static struct of_platform_driver socrates_nand_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "socrates_nand",
|
|
.match_table = socrates_nand_match,
|
|
.probe = socrates_nand_probe,
|
|
--- a/drivers/net/ehea/ehea_main.c
|
|
+++ b/drivers/net/ehea/ehea_main.c
|
|
@@ -122,6 +122,7 @@ MODULE_DEVICE_TABLE(of, ehea_device_tabl
|
|
|
|
static struct of_platform_driver ehea_driver = {
|
|
.name = "ehea",
|
|
+ .owner = THIS_MODULE,
|
|
.match_table = ehea_device_table,
|
|
.probe = ehea_probe_adapter,
|
|
.remove = ehea_remove,
|
|
--- a/drivers/net/fec_mpc52xx_phy.c
|
|
+++ b/drivers/net/fec_mpc52xx_phy.c
|
|
@@ -158,6 +158,7 @@ static struct of_device_id mpc52xx_fec_m
|
|
MODULE_DEVICE_TABLE(of, mpc52xx_fec_mdio_match);
|
|
|
|
struct of_platform_driver mpc52xx_fec_mdio_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "mpc5200b-fec-phy",
|
|
.probe = mpc52xx_fec_mdio_probe,
|
|
.remove = mpc52xx_fec_mdio_remove,
|
|
--- a/drivers/net/fs_enet/fs_enet-main.c
|
|
+++ b/drivers/net/fs_enet/fs_enet-main.c
|
|
@@ -1158,6 +1158,7 @@ static struct of_device_id fs_enet_match
|
|
MODULE_DEVICE_TABLE(of, fs_enet_match);
|
|
|
|
static struct of_platform_driver fs_enet_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "fs_enet",
|
|
.match_table = fs_enet_match,
|
|
.probe = fs_enet_probe,
|
|
--- a/drivers/net/fs_enet/mii-bitbang.c
|
|
+++ b/drivers/net/fs_enet/mii-bitbang.c
|
|
@@ -224,6 +224,7 @@ static struct of_device_id fs_enet_mdio_
|
|
MODULE_DEVICE_TABLE(of, fs_enet_mdio_bb_match);
|
|
|
|
static struct of_platform_driver fs_enet_bb_mdio_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "fsl-bb-mdio",
|
|
.match_table = fs_enet_mdio_bb_match,
|
|
.probe = fs_enet_mdio_probe,
|
|
--- a/drivers/net/fs_enet/mii-fec.c
|
|
+++ b/drivers/net/fs_enet/mii-fec.c
|
|
@@ -222,6 +222,7 @@ static struct of_device_id fs_enet_mdio_
|
|
MODULE_DEVICE_TABLE(of, fs_enet_mdio_fec_match);
|
|
|
|
static struct of_platform_driver fs_enet_fec_mdio_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "fsl-fec-mdio",
|
|
.match_table = fs_enet_mdio_fec_match,
|
|
.probe = fs_enet_mdio_probe,
|
|
--- a/drivers/net/fsl_pq_mdio.c
|
|
+++ b/drivers/net/fsl_pq_mdio.c
|
|
@@ -461,6 +461,7 @@ static struct of_device_id fsl_pq_mdio_m
|
|
MODULE_DEVICE_TABLE(of, fsl_pq_mdio_match);
|
|
|
|
static struct of_platform_driver fsl_pq_mdio_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "fsl-pq_mdio",
|
|
.probe = fsl_pq_mdio_probe,
|
|
.remove = fsl_pq_mdio_remove,
|
|
--- a/drivers/net/gianfar.c
|
|
+++ b/drivers/net/gianfar.c
|
|
@@ -3053,6 +3053,7 @@ MODULE_DEVICE_TABLE(of, gfar_match);
|
|
|
|
/* Structure for a device driver */
|
|
static struct of_platform_driver gfar_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "fsl-gianfar",
|
|
.match_table = gfar_match,
|
|
|
|
--- a/drivers/net/ibm_newemac/core.c
|
|
+++ b/drivers/net/ibm_newemac/core.c
|
|
@@ -2994,6 +2994,7 @@ static struct of_device_id emac_match[]
|
|
MODULE_DEVICE_TABLE(of, emac_match);
|
|
|
|
static struct of_platform_driver emac_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "emac",
|
|
.match_table = emac_match,
|
|
|
|
--- a/drivers/net/ibm_newemac/mal.c
|
|
+++ b/drivers/net/ibm_newemac/mal.c
|
|
@@ -789,6 +789,7 @@ static struct of_device_id mal_platform_
|
|
};
|
|
|
|
static struct of_platform_driver mal_of_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "mcmal",
|
|
.match_table = mal_platform_match,
|
|
|
|
--- a/drivers/net/ibm_newemac/rgmii.c
|
|
+++ b/drivers/net/ibm_newemac/rgmii.c
|
|
@@ -318,6 +318,7 @@ static struct of_device_id rgmii_match[]
|
|
};
|
|
|
|
static struct of_platform_driver rgmii_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "emac-rgmii",
|
|
.match_table = rgmii_match,
|
|
|
|
--- a/drivers/net/ibm_newemac/tah.c
|
|
+++ b/drivers/net/ibm_newemac/tah.c
|
|
@@ -165,6 +165,7 @@ static struct of_device_id tah_match[] =
|
|
};
|
|
|
|
static struct of_platform_driver tah_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "emac-tah",
|
|
.match_table = tah_match,
|
|
|
|
--- a/drivers/net/ibm_newemac/zmii.c
|
|
+++ b/drivers/net/ibm_newemac/zmii.c
|
|
@@ -311,6 +311,7 @@ static struct of_device_id zmii_match[]
|
|
};
|
|
|
|
static struct of_platform_driver zmii_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "emac-zmii",
|
|
.match_table = zmii_match,
|
|
|
|
--- a/drivers/net/myri_sbus.c
|
|
+++ b/drivers/net/myri_sbus.c
|
|
@@ -1161,6 +1161,7 @@ static const struct of_device_id myri_sb
|
|
MODULE_DEVICE_TABLE(of, myri_sbus_match);
|
|
|
|
static struct of_platform_driver myri_sbus_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "myri",
|
|
.match_table = myri_sbus_match,
|
|
.probe = myri_sbus_probe,
|
|
--- a/drivers/net/niu.c
|
|
+++ b/drivers/net/niu.c
|
|
@@ -10206,6 +10206,7 @@ static const struct of_device_id niu_mat
|
|
MODULE_DEVICE_TABLE(of, niu_match);
|
|
|
|
static struct of_platform_driver niu_of_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "niu",
|
|
.match_table = niu_match,
|
|
.probe = niu_of_probe,
|
|
--- a/drivers/net/phy/mdio-gpio.c
|
|
+++ b/drivers/net/phy/mdio-gpio.c
|
|
@@ -241,6 +241,7 @@ static struct of_device_id mdio_ofgpio_m
|
|
MODULE_DEVICE_TABLE(of, mdio_ofgpio_match);
|
|
|
|
static struct of_platform_driver mdio_ofgpio_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "mdio-gpio",
|
|
.match_table = mdio_ofgpio_match,
|
|
.probe = mdio_ofgpio_probe,
|
|
--- a/drivers/net/sunbmac.c
|
|
+++ b/drivers/net/sunbmac.c
|
|
@@ -1292,6 +1292,7 @@ static const struct of_device_id bigmac_
|
|
MODULE_DEVICE_TABLE(of, bigmac_sbus_match);
|
|
|
|
static struct of_platform_driver bigmac_sbus_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "sunbmac",
|
|
.match_table = bigmac_sbus_match,
|
|
.probe = bigmac_sbus_probe,
|
|
--- a/drivers/net/sunhme.c
|
|
+++ b/drivers/net/sunhme.c
|
|
@@ -3295,6 +3295,7 @@ static const struct of_device_id hme_sbu
|
|
MODULE_DEVICE_TABLE(of, hme_sbus_match);
|
|
|
|
static struct of_platform_driver hme_sbus_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "hme",
|
|
.match_table = hme_sbus_match,
|
|
.probe = hme_sbus_probe,
|
|
--- a/drivers/net/sunlance.c
|
|
+++ b/drivers/net/sunlance.c
|
|
@@ -1546,6 +1546,7 @@ static const struct of_device_id sunlanc
|
|
MODULE_DEVICE_TABLE(of, sunlance_sbus_match);
|
|
|
|
static struct of_platform_driver sunlance_sbus_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "sunlance",
|
|
.match_table = sunlance_sbus_match,
|
|
.probe = sunlance_sbus_probe,
|
|
--- a/drivers/net/sunqe.c
|
|
+++ b/drivers/net/sunqe.c
|
|
@@ -978,6 +978,7 @@ static const struct of_device_id qec_sbu
|
|
MODULE_DEVICE_TABLE(of, qec_sbus_match);
|
|
|
|
static struct of_platform_driver qec_sbus_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "qec",
|
|
.match_table = qec_sbus_match,
|
|
.probe = qec_sbus_probe,
|
|
--- a/drivers/net/ucc_geth.c
|
|
+++ b/drivers/net/ucc_geth.c
|
|
@@ -3965,6 +3965,7 @@ static struct of_device_id ucc_geth_matc
|
|
MODULE_DEVICE_TABLE(of, ucc_geth_match);
|
|
|
|
static struct of_platform_driver ucc_geth_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = DRV_NAME,
|
|
.match_table = ucc_geth_match,
|
|
.probe = ucc_geth_probe,
|
|
--- a/drivers/parport/parport_sunbpp.c
|
|
+++ b/drivers/parport/parport_sunbpp.c
|
|
@@ -382,6 +382,7 @@ static const struct of_device_id bpp_mat
|
|
MODULE_DEVICE_TABLE(of, bpp_match);
|
|
|
|
static struct of_platform_driver bpp_sbus_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "bpp",
|
|
.match_table = bpp_match,
|
|
.probe = bpp_probe,
|
|
--- a/drivers/pcmcia/electra_cf.c
|
|
+++ b/drivers/pcmcia/electra_cf.c
|
|
@@ -356,6 +356,7 @@ static const struct of_device_id electra
|
|
MODULE_DEVICE_TABLE(of, electra_cf_match);
|
|
|
|
static struct of_platform_driver electra_cf_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = (char *)driver_name,
|
|
.match_table = electra_cf_match,
|
|
.probe = electra_cf_probe,
|
|
--- a/drivers/pcmcia/m8xx_pcmcia.c
|
|
+++ b/drivers/pcmcia/m8xx_pcmcia.c
|
|
@@ -1314,6 +1314,7 @@ static const struct of_device_id m8xx_pc
|
|
MODULE_DEVICE_TABLE(of, m8xx_pcmcia_match);
|
|
|
|
static struct of_platform_driver m8xx_pcmcia_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = driver_name,
|
|
.match_table = m8xx_pcmcia_match,
|
|
.probe = m8xx_probe,
|
|
--- a/drivers/sbus/char/bbc_i2c.c
|
|
+++ b/drivers/sbus/char/bbc_i2c.c
|
|
@@ -414,6 +414,7 @@ static const struct of_device_id bbc_i2c
|
|
MODULE_DEVICE_TABLE(of, bbc_i2c_match);
|
|
|
|
static struct of_platform_driver bbc_i2c_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "bbc_i2c",
|
|
.match_table = bbc_i2c_match,
|
|
.probe = bbc_i2c_probe,
|
|
--- a/drivers/sbus/char/display7seg.c
|
|
+++ b/drivers/sbus/char/display7seg.c
|
|
@@ -265,6 +265,7 @@ static const struct of_device_id d7s_mat
|
|
MODULE_DEVICE_TABLE(of, d7s_match);
|
|
|
|
static struct of_platform_driver d7s_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = DRIVER_NAME,
|
|
.match_table = d7s_match,
|
|
.probe = d7s_probe,
|
|
--- a/drivers/sbus/char/envctrl.c
|
|
+++ b/drivers/sbus/char/envctrl.c
|
|
@@ -1130,6 +1130,7 @@ static const struct of_device_id envctrl
|
|
MODULE_DEVICE_TABLE(of, envctrl_match);
|
|
|
|
static struct of_platform_driver envctrl_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = DRIVER_NAME,
|
|
.match_table = envctrl_match,
|
|
.probe = envctrl_probe,
|
|
--- a/drivers/sbus/char/flash.c
|
|
+++ b/drivers/sbus/char/flash.c
|
|
@@ -208,6 +208,7 @@ static const struct of_device_id flash_m
|
|
MODULE_DEVICE_TABLE(of, flash_match);
|
|
|
|
static struct of_platform_driver flash_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "flash",
|
|
.match_table = flash_match,
|
|
.probe = flash_probe,
|
|
--- a/drivers/sbus/char/uctrl.c
|
|
+++ b/drivers/sbus/char/uctrl.c
|
|
@@ -425,6 +425,7 @@ static const struct of_device_id uctrl_m
|
|
MODULE_DEVICE_TABLE(of, uctrl_match);
|
|
|
|
static struct of_platform_driver uctrl_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "uctrl",
|
|
.match_table = uctrl_match,
|
|
.probe = uctrl_probe,
|
|
--- a/drivers/scsi/qlogicpti.c
|
|
+++ b/drivers/scsi/qlogicpti.c
|
|
@@ -1456,6 +1456,7 @@ static const struct of_device_id qpti_ma
|
|
MODULE_DEVICE_TABLE(of, qpti_match);
|
|
|
|
static struct of_platform_driver qpti_sbus_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "qpti",
|
|
.match_table = qpti_match,
|
|
.probe = qpti_sbus_probe,
|
|
--- a/drivers/scsi/sun_esp.c
|
|
+++ b/drivers/scsi/sun_esp.c
|
|
@@ -632,6 +632,7 @@ static const struct of_device_id esp_mat
|
|
MODULE_DEVICE_TABLE(of, esp_match);
|
|
|
|
static struct of_platform_driver esp_sbus_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "esp",
|
|
.match_table = esp_match,
|
|
.probe = esp_sbus_probe,
|
|
--- a/drivers/serial/cpm_uart/cpm_uart_core.c
|
|
+++ b/drivers/serial/cpm_uart/cpm_uart_core.c
|
|
@@ -1372,6 +1372,7 @@ static struct of_device_id cpm_uart_matc
|
|
};
|
|
|
|
static struct of_platform_driver cpm_uart_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "cpm_uart",
|
|
.match_table = cpm_uart_match,
|
|
.probe = cpm_uart_probe,
|
|
--- a/drivers/serial/mpc52xx_uart.c
|
|
+++ b/drivers/serial/mpc52xx_uart.c
|
|
@@ -1464,6 +1464,7 @@ mpc52xx_uart_of_enumerate(void)
|
|
MODULE_DEVICE_TABLE(of, mpc52xx_uart_of_match);
|
|
|
|
static struct of_platform_driver mpc52xx_uart_of_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.match_table = mpc52xx_uart_of_match,
|
|
.probe = mpc52xx_uart_of_probe,
|
|
.remove = mpc52xx_uart_of_remove,
|
|
--- a/drivers/serial/sunhv.c
|
|
+++ b/drivers/serial/sunhv.c
|
|
@@ -630,6 +630,7 @@ static const struct of_device_id hv_matc
|
|
MODULE_DEVICE_TABLE(of, hv_match);
|
|
|
|
static struct of_platform_driver hv_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "hv",
|
|
.match_table = hv_match,
|
|
.probe = hv_probe,
|
|
--- a/drivers/serial/sunsab.c
|
|
+++ b/drivers/serial/sunsab.c
|
|
@@ -1093,6 +1093,7 @@ static const struct of_device_id sab_mat
|
|
MODULE_DEVICE_TABLE(of, sab_match);
|
|
|
|
static struct of_platform_driver sab_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "sab",
|
|
.match_table = sab_match,
|
|
.probe = sab_probe,
|
|
--- a/drivers/serial/sunsu.c
|
|
+++ b/drivers/serial/sunsu.c
|
|
@@ -1536,6 +1536,7 @@ static const struct of_device_id su_matc
|
|
MODULE_DEVICE_TABLE(of, su_match);
|
|
|
|
static struct of_platform_driver su_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "su",
|
|
.match_table = su_match,
|
|
.probe = su_probe,
|
|
--- a/drivers/serial/sunzilog.c
|
|
+++ b/drivers/serial/sunzilog.c
|
|
@@ -1491,6 +1491,7 @@ static const struct of_device_id zs_matc
|
|
MODULE_DEVICE_TABLE(of, zs_match);
|
|
|
|
static struct of_platform_driver zs_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "zs",
|
|
.match_table = zs_match,
|
|
.probe = zs_probe,
|
|
--- a/drivers/spi/spi_mpc8xxx.c
|
|
+++ b/drivers/spi/spi_mpc8xxx.c
|
|
@@ -1311,6 +1311,7 @@ static const struct of_device_id of_mpc8
|
|
MODULE_DEVICE_TABLE(of, of_mpc8xxx_spi_match);
|
|
|
|
static struct of_platform_driver of_mpc8xxx_spi_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "mpc8xxx_spi",
|
|
.match_table = of_mpc8xxx_spi_match,
|
|
.probe = of_mpc8xxx_spi_probe,
|
|
--- a/drivers/usb/gadget/fsl_qe_udc.c
|
|
+++ b/drivers/usb/gadget/fsl_qe_udc.c
|
|
@@ -2768,6 +2768,7 @@ static const struct of_device_id qe_udc_
|
|
MODULE_DEVICE_TABLE(of, qe_udc_match);
|
|
|
|
static struct of_platform_driver udc_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = (char *)driver_name,
|
|
.match_table = qe_udc_match,
|
|
.probe = qe_udc_probe,
|
|
--- a/drivers/usb/host/fhci-hcd.c
|
|
+++ b/drivers/usb/host/fhci-hcd.c
|
|
@@ -812,6 +812,7 @@ static const struct of_device_id of_fhci
|
|
MODULE_DEVICE_TABLE(of, of_fhci_match);
|
|
|
|
static struct of_platform_driver of_fhci_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "fsl,usb-fhci",
|
|
.match_table = of_fhci_match,
|
|
.probe = of_fhci_probe,
|
|
--- a/drivers/usb/host/isp1760-if.c
|
|
+++ b/drivers/usb/host/isp1760-if.c
|
|
@@ -121,6 +121,7 @@ static const struct of_device_id of_isp1
|
|
MODULE_DEVICE_TABLE(of, of_isp1760_match);
|
|
|
|
static struct of_platform_driver isp1760_of_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "nxp-isp1760",
|
|
.match_table = of_isp1760_match,
|
|
.probe = of_isp1760_probe,
|
|
--- a/drivers/video/bw2.c
|
|
+++ b/drivers/video/bw2.c
|
|
@@ -377,6 +377,7 @@ static const struct of_device_id bw2_mat
|
|
MODULE_DEVICE_TABLE(of, bw2_match);
|
|
|
|
static struct of_platform_driver bw2_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "bw2",
|
|
.match_table = bw2_match,
|
|
.probe = bw2_probe,
|
|
--- a/drivers/video/cg14.c
|
|
+++ b/drivers/video/cg14.c
|
|
@@ -597,6 +597,7 @@ static const struct of_device_id cg14_ma
|
|
MODULE_DEVICE_TABLE(of, cg14_match);
|
|
|
|
static struct of_platform_driver cg14_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "cg14",
|
|
.match_table = cg14_match,
|
|
.probe = cg14_probe,
|
|
--- a/drivers/video/cg3.c
|
|
+++ b/drivers/video/cg3.c
|
|
@@ -464,6 +464,7 @@ static const struct of_device_id cg3_mat
|
|
MODULE_DEVICE_TABLE(of, cg3_match);
|
|
|
|
static struct of_platform_driver cg3_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "cg3",
|
|
.match_table = cg3_match,
|
|
.probe = cg3_probe,
|
|
--- a/drivers/video/cg6.c
|
|
+++ b/drivers/video/cg6.c
|
|
@@ -857,6 +857,7 @@ static const struct of_device_id cg6_mat
|
|
MODULE_DEVICE_TABLE(of, cg6_match);
|
|
|
|
static struct of_platform_driver cg6_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "cg6",
|
|
.match_table = cg6_match,
|
|
.probe = cg6_probe,
|
|
--- a/drivers/video/ffb.c
|
|
+++ b/drivers/video/ffb.c
|
|
@@ -1054,6 +1054,7 @@ static const struct of_device_id ffb_mat
|
|
MODULE_DEVICE_TABLE(of, ffb_match);
|
|
|
|
static struct of_platform_driver ffb_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "ffb",
|
|
.match_table = ffb_match,
|
|
.probe = ffb_probe,
|
|
--- a/drivers/video/leo.c
|
|
+++ b/drivers/video/leo.c
|
|
@@ -664,6 +664,7 @@ static const struct of_device_id leo_mat
|
|
MODULE_DEVICE_TABLE(of, leo_match);
|
|
|
|
static struct of_platform_driver leo_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "leo",
|
|
.match_table = leo_match,
|
|
.probe = leo_probe,
|
|
--- a/drivers/video/p9100.c
|
|
+++ b/drivers/video/p9100.c
|
|
@@ -354,6 +354,7 @@ static const struct of_device_id p9100_m
|
|
MODULE_DEVICE_TABLE(of, p9100_match);
|
|
|
|
static struct of_platform_driver p9100_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "p9100",
|
|
.match_table = p9100_match,
|
|
.probe = p9100_probe,
|
|
--- a/drivers/video/platinumfb.c
|
|
+++ b/drivers/video/platinumfb.c
|
|
@@ -680,6 +680,7 @@ static struct of_device_id platinumfb_ma
|
|
|
|
static struct of_platform_driver platinum_driver =
|
|
{
|
|
+ .owner = THIS_MODULE,
|
|
.name = "platinumfb",
|
|
.match_table = platinumfb_match,
|
|
.probe = platinumfb_probe,
|
|
--- a/drivers/video/tcx.c
|
|
+++ b/drivers/video/tcx.c
|
|
@@ -513,6 +513,7 @@ static const struct of_device_id tcx_mat
|
|
MODULE_DEVICE_TABLE(of, tcx_match);
|
|
|
|
static struct of_platform_driver tcx_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "tcx",
|
|
.match_table = tcx_match,
|
|
.probe = tcx_probe,
|
|
--- a/drivers/watchdog/cpwd.c
|
|
+++ b/drivers/watchdog/cpwd.c
|
|
@@ -676,6 +676,7 @@ static const struct of_device_id cpwd_ma
|
|
MODULE_DEVICE_TABLE(of, cpwd_match);
|
|
|
|
static struct of_platform_driver cpwd_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = DRIVER_NAME,
|
|
.match_table = cpwd_match,
|
|
.probe = cpwd_probe,
|
|
--- a/drivers/watchdog/riowd.c
|
|
+++ b/drivers/watchdog/riowd.c
|
|
@@ -238,6 +238,7 @@ static const struct of_device_id riowd_m
|
|
MODULE_DEVICE_TABLE(of, riowd_match);
|
|
|
|
static struct of_platform_driver riowd_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = DRIVER_NAME,
|
|
.match_table = riowd_match,
|
|
.probe = riowd_probe,
|
|
--- a/sound/sparc/amd7930.c
|
|
+++ b/sound/sparc/amd7930.c
|
|
@@ -1065,6 +1065,7 @@ static const struct of_device_id amd7930
|
|
};
|
|
|
|
static struct of_platform_driver amd7930_sbus_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "audio",
|
|
.match_table = amd7930_match,
|
|
.probe = amd7930_sbus_probe,
|
|
--- a/sound/sparc/cs4231.c
|
|
+++ b/sound/sparc/cs4231.c
|
|
@@ -2110,6 +2110,7 @@ static const struct of_device_id cs4231_
|
|
MODULE_DEVICE_TABLE(of, cs4231_match);
|
|
|
|
static struct of_platform_driver cs4231_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "audio",
|
|
.match_table = cs4231_match,
|
|
.probe = cs4231_probe,
|
|
--- a/sound/sparc/dbri.c
|
|
+++ b/sound/sparc/dbri.c
|
|
@@ -2686,6 +2686,7 @@ static const struct of_device_id dbri_ma
|
|
MODULE_DEVICE_TABLE(of, dbri_match);
|
|
|
|
static struct of_platform_driver dbri_sbus_driver = {
|
|
+ .owner = THIS_MODULE,
|
|
.name = "dbri",
|
|
.match_table = dbri_match,
|
|
.probe = dbri_probe,
|