.remove = gpio_keys_remove,
.driver = {
.name = "gpio-keys",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(gpio_keys_of_match),
},
};
.remove = gpio_keys_remove,
.driver = {
.name = "gpio-keys-polled",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(gpio_keys_polled_of_match),
},
};
static struct platform_driver nct5104d_gpio_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = DRVNAME,
},
.probe = nct5104d_gpio_probe,
.remove = ltq_mei_remove,
.driver = {
.name = "lantiq,mei-xway",
- .owner = THIS_MODULE,
.of_match_table = ltq_mei_match,
},
};
}
#ifndef _lint
-@@ -1159,8 +1159,30 @@ module_param(debug_level, byte, 0);
+@@ -1159,8 +1159,29 @@ module_param(debug_level, byte, 0);
MODULE_PARM_DESC(debug_level, "set to get more (1) or fewer (4) debug outputs");
#endif /* #ifndef DSL_DEBUG_DISABLE*/
+ .remove = __devexit_p(ltq_adsl_remove),
+ .driver = {
+ .name = "adsl",
-+ .owner = THIS_MODULE,
+ .of_match_table = ltq_adsl_match,
+ },
+};
.remove = ltq_atm_remove,
.driver = {
.name = "atm",
- .owner = THIS_MODULE,
.of_match_table = ltq_atm_match,
},
};
.remove = ltq_deu_remove,
.driver = {
.name = "deu",
- .owner = THIS_MODULE,
.of_match_table = ltq_deu_match,
},
};
.remove = ltq_ptm_remove,
.driver = {
.name = "ptm",
- .owner = THIS_MODULE,
.of_match_table = ltq_ptm_match,
},
};
.remove = ltq_ptm_remove,
.driver = {
.name = "ptm",
- .owner = THIS_MODULE,
.of_match_table = ltq_ptm_match,
},
};
.remove = ubootenv_remove,
.driver = {
.name = NAME,
- .owner = THIS_MODULE,
.of_match_table = of_ubootenv_match,
},
};
.probe = gpio_latch_probe,
.driver = {
.name = GPIO_LATCH_DRIVER_NAME,
- .owner = THIS_MODULE,
.of_match_table = gpio_latch_match,
},
};
.probe = gpio_rb91x_key_probe,
.driver = {
.name = GPIO_RB91X_KEY_DRIVER_NAME,
- .owner = THIS_MODULE,
.of_match_table = gpio_rb91x_key_match,
},
};
.remove = ar934x_nfc_remove,
.driver = {
.name = AR934X_NFC_DRIVER_NAME,
- .owner = THIS_MODULE,
.of_match_table = ar934x_nfc_match,
},
};
.remove = rb91x_nand_remove,
.driver = {
.name = "rb91x-nand",
- .owner = THIS_MODULE,
.of_match_table = rb91x_nand_match,
},
};
obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
--- /dev/null
+++ b/drivers/watchdog/old_gpio_wdt.c
-@@ -0,0 +1,301 @@
+@@ -0,0 +1,300 @@
+/*
+ * Driver for GPIO-controlled Hardware Watchdogs.
+ *
+ .probe = gpio_wdt_probe,
+ .remove = gpio_wdt_remove,
+ .driver.name = "gpio-wdt",
-+ .driver.owner = THIS_MODULE,
+};
+
+static int __init gpio_wdt_init(void)
static struct platform_driver rtl8366rb_driver = {
.driver = {
.name = RTL8366RB_DRIVER_NAME,
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(rtl8366rb_match),
},
.probe = rtl8366rb_probe,
static struct platform_driver rtl8366s_driver = {
.driver = {
.name = RTL8366S_DRIVER_NAME,
- .owner = THIS_MODULE,
#ifdef CONFIG_OF
.of_match_table = of_match_ptr(rtl8366s_match),
#endif
static struct platform_driver rtl8367_driver = {
.driver = {
.name = RTL8367_DRIVER_NAME,
- .owner = THIS_MODULE,
#ifdef CONFIG_OF
.of_match_table = of_match_ptr(rtl8367_match),
#endif
static struct platform_driver rtl8367b_driver = {
.driver = {
.name = RTL8367B_DRIVER_NAME,
- .owner = THIS_MODULE,
#ifdef CONFIG_OF
.of_match_table = of_match_ptr(rtl8367b_match),
#endif
#include "gpiolib.h"
#include "gpiolib-of.h"
-@@ -1129,3 +1131,74 @@ void of_gpiochip_remove(struct gpio_chip
+@@ -1129,3 +1131,73 @@ void of_gpiochip_remove(struct gpio_chip
{
of_node_put(dev_of_node(&chip->gpiodev->dev));
}
+static struct platform_driver gpio_export_driver = {
+ .driver = {
+ .name = "gpio-export",
-+ .owner = THIS_MODULE,
+ .of_match_table = of_match_ptr(gpio_export_ids),
+ },
+ .probe = of_gpio_export_probe,
swim_mod-y := swim.o swim_asm.o
--- /dev/null
+++ b/drivers/block/fitblk.c
-@@ -0,0 +1,659 @@
+@@ -0,0 +1,658 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * uImage.FIT virtual block device driver.
+ .probe = fitblk_probe,
+ .driver = {
+ .name = "fitblk",
-+ .owner = THIS_MODULE,
+ },
+};
+
+obj-$(CONFIG_QCOM_TCSR) += qcom_tcsr.o
--- /dev/null
+++ b/drivers/soc/qcom/qcom_tcsr.c
-@@ -0,0 +1,96 @@
+@@ -0,0 +1,95 @@
+/*
+ * Copyright (c) 2014, The Linux foundation. All rights reserved.
+ *
+static struct platform_driver tcsr_driver = {
+ .driver = {
+ .name = "tcsr",
-+ .owner = THIS_MODULE,
+ .of_match_table = tcsr_dt_match,
+ },
+ .probe = tcsr_probe,
depends on ARCH_QCOM || COMPILE_TEST
--- /dev/null
+++ b/drivers/soc/qcom/qcom_tcsr.c
-@@ -0,0 +1,62 @@
+@@ -0,0 +1,61 @@
+/*
+ * Copyright (c) 2014, The Linux foundation. All rights reserved.
+ *
+static struct platform_driver tcsr_driver = {
+ .driver = {
+ .name = "tcsr",
-+ .owner = THIS_MODULE,
+ .of_match_table = tcsr_dt_match,
+ },
+ .probe = tcsr_probe,
obj-y += vmmc.o
--- /dev/null
+++ b/arch/mips/lantiq/xway/timer.c
-@@ -0,0 +1,887 @@
+@@ -0,0 +1,886 @@
+#ifndef CONFIG_SOC_AMAZON_SE
+
+#include <linux/kernel.h>
+ .probe = gptu_probe,
+ .driver = {
+ .name = "gptu-xway",
-+ .owner = THIS_MODULE,
+ .of_match_table = gptu_match,
+ },
+};
obj-$(CONFIG_I2C_MESON) += i2c-meson.o
--- /dev/null
+++ b/drivers/i2c/busses/i2c-lantiq.c
-@@ -0,0 +1,746 @@
+@@ -0,0 +1,745 @@
+
+/*
+ * Lantiq I2C bus adapter
+ .remove = ltq_i2c_remove,
+ .driver = {
+ .name = DRV_NAME,
-+ .owner = THIS_MODULE,
+ .of_match_table = ltq_i2c_match,
+ },
+};
+obj-$(CONFIG_PCI) += ath5k_eep.o
--- /dev/null
+++ b/arch/mips/lantiq/xway/ath5k_eep.c
-@@ -0,0 +1,136 @@
+@@ -0,0 +1,135 @@
+/*
+ * Copyright (C) 2011 Luca Olivetti <luca@ventoso.org>
+ * Copyright (C) 2011 John Crispin <blogic@openwrt.org>
+static struct platform_driver ath5k_eeprom_driver = {
+ .driver = {
+ .name = "ath5k,eeprom",
-+ .owner = THIS_MODULE,
+ .of_match_table = of_match_ptr(ath5k_eeprom_ids),
+ },
+};
register_pci_controller(&ifx_pcie_controller[pcie_port].pcic);
/* XXX, clear error status */
-@@ -1083,6 +1185,30 @@ static int __init ifx_pcie_bios_init(voi
+@@ -1083,6 +1185,29 @@ static int __init ifx_pcie_bios_init(voi
return 0;
}
+ .probe = ifx_pcie_bios_probe,
+ .driver = {
+ .name = "pcie-xrx200",
-+ .owner = THIS_MODULE,
+ .of_match_table = ifxmips_pcie_match,
+ },
+};
.remove = rtk_gsw_remove,
.driver = {
.name = "rtk-gsw",
- .owner = THIS_MODULE,
.of_match_table = rtk_gsw_match,
},
};
+obj-$(CONFIG_QCOM_APM) += apm.o
--- /dev/null
+++ b/drivers/power/qcom/apm.c
-@@ -0,0 +1,944 @@
+@@ -0,0 +1,943 @@
+/*
+ * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
+ *
+ .driver = {
+ .name = MSM_APM_DRIVER_NAME,
+ .of_match_table = msm_apm_match_table,
-+ .owner = THIS_MODULE,
+ },
+ .probe = msm_apm_probe,
+ .remove = msm_apm_remove,
obj-$(CONFIG_REGULATOR_PF8X00) += pf8x00-regulator.o
--- /dev/null
+++ b/drivers/regulator/cpr3-npu-regulator.c
-@@ -0,0 +1,695 @@
+@@ -0,0 +1,694 @@
+/*
+ * Copyright (c) 2017, The Linux Foundation. All rights reserved.
+ *
+ .driver = {
+ .name = "qcom,cpr3-npu-regulator",
+ .of_match_table = cpr3_regulator_match_table,
-+ .owner = THIS_MODULE,
+ },
+ .probe = cpr3_npu_regulator_probe,
+ .remove = cpr3_npu_regulator_remove,
+}
--- /dev/null
+++ b/drivers/regulator/cpr4-apss-regulator.c
-@@ -0,0 +1,1819 @@
+@@ -0,0 +1,1818 @@
+/*
+ * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
+ *
+ .driver = {
+ .name = "qcom,cpr4-apss-regulator",
+ .of_match_table = cpr4_regulator_match_table,
-+ .owner = THIS_MODULE,
+ },
+ .probe = cpr4_apss_regulator_probe,
+ .remove = cpr4_apss_regulator_remove,
.remove = esw_remove,
.driver = {
.name = "rt3050-esw",
- .owner = THIS_MODULE,
.of_match_table = ralink_esw_match,
},
};
.remove = mt7620_gsw_remove,
.driver = {
.name = "mt7620-gsw",
- .owner = THIS_MODULE,
.of_match_table = mediatek_gsw_match,
},
};
.remove = fe_remove,
.driver = {
.name = "mtk_soc_eth",
- .owner = THIS_MODULE,
.of_match_table = of_fe_match,
},
};
.remove = sf_gpio_remove,
.driver = {
.name = "siflower_gpio",
- .owner = THIS_MODULE,
.of_match_table = sf_gpio_ids,
},
};