arm ti: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
9978ade498
commit
8537e67130
@ -302,8 +302,6 @@ static driver_t ti_aintc_driver = {
|
||||
sizeof(struct ti_aintc_softc),
|
||||
};
|
||||
|
||||
static devclass_t ti_aintc_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(ti_aintc, simplebus, ti_aintc_driver, ti_aintc_devclass,
|
||||
0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
||||
EARLY_DRIVER_MODULE(ti_aintc, simplebus, ti_aintc_driver, 0, 0,
|
||||
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
||||
SIMPLEBUS_PNP_INFO(compat_data);
|
||||
|
@ -180,9 +180,7 @@ DEFINE_CLASS_1(ti_am3359_cppi41, ti_am3359_cppi41_driver,
|
||||
ti_am3359_cppi41_methods,sizeof(struct ti_am3359_cppi41_softc),
|
||||
simplebus_driver);
|
||||
|
||||
static devclass_t ti_am3359_cppi41_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(ti_am3359_cppi41, simplebus, ti_am3359_cppi41_driver,
|
||||
ti_am3359_cppi41_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
EARLY_DRIVER_MODULE(ti_am3359_cppi41, simplebus, ti_am3359_cppi41_driver, 0, 0,
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
MODULE_VERSION(ti_am3359_cppi41, 1);
|
||||
MODULE_DEPEND(ti_am3359_cppi41, ti_sysc, 1, 1, 1);
|
||||
|
@ -379,9 +379,7 @@ static driver_t am335x_dmtimer_driver = {
|
||||
sizeof(struct am335x_dmtimer_softc),
|
||||
};
|
||||
|
||||
static devclass_t am335x_dmtimer_devclass;
|
||||
|
||||
DRIVER_MODULE(am335x_dmtimer, simplebus, am335x_dmtimer_driver, am335x_dmtimer_devclass, 0, 0);
|
||||
DRIVER_MODULE(am335x_dmtimer, simplebus, am335x_dmtimer_driver, 0, 0);
|
||||
MODULE_DEPEND(am335x_dmtimer, ti_sysc, 1, 1, 1);
|
||||
|
||||
static void
|
||||
|
@ -615,7 +615,5 @@ static driver_t dmtpps_driver = {
|
||||
sizeof(struct dmtpps_softc),
|
||||
};
|
||||
|
||||
static devclass_t dmtpps_devclass;
|
||||
|
||||
DRIVER_MODULE(am335x_dmtpps, simplebus, dmtpps_driver, dmtpps_devclass, 0, 0);
|
||||
DRIVER_MODULE(am335x_dmtpps, simplebus, dmtpps_driver, 0, 0);
|
||||
MODULE_DEPEND(am335x_dmtpps, ti_sysc, 1, 1, 1);
|
||||
|
@ -95,8 +95,6 @@ static driver_t am335x_ecap_driver = {
|
||||
sizeof(struct am335x_ecap_softc),
|
||||
};
|
||||
|
||||
static devclass_t am335x_ecap_devclass;
|
||||
|
||||
/*
|
||||
* API function to set period/duty cycles for ECAPx
|
||||
*/
|
||||
@ -194,6 +192,6 @@ am335x_ecap_detach(device_t dev)
|
||||
return (0);
|
||||
}
|
||||
|
||||
DRIVER_MODULE(am335x_ecap, am335x_pwmss, am335x_ecap_driver, am335x_ecap_devclass, 0, 0);
|
||||
DRIVER_MODULE(am335x_ecap, am335x_pwmss, am335x_ecap_driver, 0, 0);
|
||||
MODULE_VERSION(am335x_ecap, 1);
|
||||
MODULE_DEPEND(am335x_ecap, am335x_pwmss, 1, 1, 1);
|
||||
|
@ -594,9 +594,7 @@ static driver_t am335x_ehrpwm_driver = {
|
||||
sizeof(struct am335x_ehrpwm_softc),
|
||||
};
|
||||
|
||||
static devclass_t am335x_ehrpwm_devclass;
|
||||
|
||||
DRIVER_MODULE(am335x_ehrpwm, am335x_pwmss, am335x_ehrpwm_driver, am335x_ehrpwm_devclass, 0, 0);
|
||||
DRIVER_MODULE(am335x_ehrpwm, am335x_pwmss, am335x_ehrpwm_driver, 0, 0);
|
||||
MODULE_VERSION(am335x_ehrpwm, 1);
|
||||
MODULE_DEPEND(am335x_ehrpwm, am335x_pwmss, 1, 1, 1);
|
||||
MODULE_DEPEND(am335x_ehrpwm, pwmbus, 1, 1, 1);
|
||||
|
@ -149,10 +149,8 @@ static device_method_t am335x_gpio_methods[] = {
|
||||
};
|
||||
|
||||
extern driver_t ti_gpio_driver;
|
||||
static devclass_t am335x_gpio_devclass;
|
||||
|
||||
DEFINE_CLASS_1(gpio, am335x_gpio_driver, am335x_gpio_methods,
|
||||
sizeof(struct ti_gpio_softc), ti_gpio_driver);
|
||||
DRIVER_MODULE(am335x_gpio, simplebus, am335x_gpio_driver, am335x_gpio_devclass,
|
||||
0, 0);
|
||||
DRIVER_MODULE(am335x_gpio, simplebus, am335x_gpio_driver, 0, 0);
|
||||
MODULE_DEPEND(am335x_gpio, ti_sysc, 1, 1, 1);
|
||||
|
@ -1096,9 +1096,7 @@ static driver_t am335x_lcd_driver = {
|
||||
sizeof(struct am335x_lcd_softc),
|
||||
};
|
||||
|
||||
static devclass_t am335x_lcd_devclass;
|
||||
|
||||
DRIVER_MODULE(am335x_lcd, simplebus, am335x_lcd_driver, am335x_lcd_devclass, 0, 0);
|
||||
DRIVER_MODULE(am335x_lcd, simplebus, am335x_lcd_driver, 0, 0);
|
||||
MODULE_VERSION(am335x_lcd, 1);
|
||||
MODULE_DEPEND(am335x_lcd, simplebus, 1, 1, 1);
|
||||
MODULE_DEPEND(am335x_lcd, ti_sysc, 1, 1, 1);
|
||||
|
@ -453,9 +453,7 @@ static driver_t musbotg_driver = {
|
||||
.size = sizeof(struct musbotg_super_softc),
|
||||
};
|
||||
|
||||
static devclass_t musbotg_devclass;
|
||||
|
||||
DRIVER_MODULE(musbotg, ti_sysc, musbotg_driver, musbotg_devclass, 0, 0);
|
||||
DRIVER_MODULE(musbotg, ti_sysc, musbotg_driver, 0, 0);
|
||||
MODULE_DEPEND(musbotg, ti_sysc, 1, 1, 1);
|
||||
MODULE_DEPEND(musbotg, ti_am3359_cppi41, 1, 1, 1);
|
||||
MODULE_DEPEND(usbss, usb, 1, 1, 1);
|
||||
|
@ -321,8 +321,6 @@ static driver_t am335x_pmic_driver = {
|
||||
sizeof(struct am335x_pmic_softc),
|
||||
};
|
||||
|
||||
static devclass_t am335x_pmic_devclass;
|
||||
|
||||
DRIVER_MODULE(am335x_pmic, iicbus, am335x_pmic_driver, am335x_pmic_devclass, 0, 0);
|
||||
DRIVER_MODULE(am335x_pmic, iicbus, am335x_pmic_driver, 0, 0);
|
||||
MODULE_VERSION(am335x_pmic, 1);
|
||||
MODULE_DEPEND(am335x_pmic, iicbus, 1, 1, 1);
|
||||
|
@ -173,7 +173,6 @@ am335x_pwmss_detach(device_t dev)
|
||||
|
||||
DEFINE_CLASS_1(am335x_pwmss, am335x_pwmss_driver, am335x_pwmss_methods,
|
||||
sizeof(struct am335x_pwmss_softc), simplebus_driver);
|
||||
static devclass_t am335x_pwmss_devclass;
|
||||
DRIVER_MODULE(am335x_pwmss, simplebus, am335x_pwmss_driver, am335x_pwmss_devclass, 0, 0);
|
||||
DRIVER_MODULE(am335x_pwmss, simplebus, am335x_pwmss_driver, 0, 0);
|
||||
MODULE_VERSION(am335x_pwmss, 1);
|
||||
MODULE_DEPEND(am335x_pwmss, ti_sysc, 1, 1, 1);
|
||||
|
@ -205,9 +205,7 @@ static driver_t am335x_rtc_driver = {
|
||||
sizeof(struct am335x_rtc_softc),
|
||||
};
|
||||
|
||||
static devclass_t am335x_rtc_devclass;
|
||||
|
||||
DRIVER_MODULE(am335x_rtc, simplebus, am335x_rtc_driver, am335x_rtc_devclass, 0, 0);
|
||||
DRIVER_MODULE(am335x_rtc, simplebus, am335x_rtc_driver, 0, 0);
|
||||
MODULE_VERSION(am335x_rtc, 1);
|
||||
MODULE_DEPEND(am335x_rtc, simplebus, 1, 1, 1);
|
||||
MODULE_DEPEND(am335x_rtc, ti_sysc, 1, 1, 1);
|
||||
|
@ -191,8 +191,6 @@ static driver_t am335x_scm_driver = {
|
||||
sizeof(struct am335x_scm_softc),
|
||||
};
|
||||
|
||||
static devclass_t am335x_scm_devclass;
|
||||
|
||||
DRIVER_MODULE(am335x_scm, ti_scm, am335x_scm_driver, am335x_scm_devclass, 0, 0);
|
||||
DRIVER_MODULE(am335x_scm, ti_scm, am335x_scm_driver, 0, 0);
|
||||
MODULE_VERSION(am335x_scm, 1);
|
||||
MODULE_DEPEND(am335x_scm, ti_scm_syscon, 1, 1, 1);
|
||||
|
@ -111,9 +111,7 @@ static device_method_t ti_usb_phy_methods[] = {
|
||||
DEFINE_CLASS_1(ti_usb_phy, ti_usb_phy_driver, ti_usb_phy_methods,
|
||||
sizeof(struct ti_usb_phy_softc), simplebus_driver);
|
||||
|
||||
static devclass_t ti_usb_phy_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(ti_usb_phy, simplebus, ti_usb_phy_driver,
|
||||
ti_usb_phy_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_FIRST);
|
||||
EARLY_DRIVER_MODULE(ti_usb_phy, simplebus, ti_usb_phy_driver, 0, 0,
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_FIRST);
|
||||
MODULE_VERSION(ti_usb_phy, 1);
|
||||
MODULE_DEPEND(ti_usb_phy, ti_sysc, 1, 1, 1);
|
||||
|
@ -794,8 +794,6 @@ static driver_t tda_driver = {
|
||||
sizeof(struct tda19988_softc),
|
||||
};
|
||||
|
||||
static devclass_t tda_devclass;
|
||||
|
||||
DRIVER_MODULE(tda, iicbus, tda_driver, tda_devclass, 0, 0);
|
||||
DRIVER_MODULE(tda, iicbus, tda_driver, 0, 0);
|
||||
MODULE_VERSION(tda, 1);
|
||||
MODULE_DEPEND(tda, iicbus, 1, 1, 1);
|
||||
|
@ -344,9 +344,7 @@ static device_method_t ti_clkctrl_methods[] = {
|
||||
DEFINE_CLASS_0(ti_clkctrl, ti_clkctrl_driver, ti_clkctrl_methods,
|
||||
sizeof(struct ti_clkctrl_softc));
|
||||
|
||||
static devclass_t ti_clkctrl_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(ti_clkctrl, simplebus, ti_clkctrl_driver,
|
||||
ti_clkctrl_devclass, 0, 0, BUS_PASS_BUS+BUS_PASS_ORDER_MIDDLE);
|
||||
EARLY_DRIVER_MODULE(ti_clkctrl, simplebus, ti_clkctrl_driver, 0, 0,
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
|
||||
MODULE_VERSION(ti_clkctrl, 1);
|
||||
|
@ -257,8 +257,6 @@ static device_method_t ti_divider_methods[] = {
|
||||
DEFINE_CLASS_0(ti_divider, ti_divider_driver, ti_divider_methods,
|
||||
sizeof(struct ti_divider_softc));
|
||||
|
||||
static devclass_t ti_divider_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(ti_divider, simplebus, ti_divider_driver,
|
||||
ti_divider_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
EARLY_DRIVER_MODULE(ti_divider, simplebus, ti_divider_driver, 0, 0,
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
MODULE_VERSION(ti_divider, 1);
|
||||
|
@ -368,8 +368,6 @@ static device_method_t ti_dpll_methods[] = {
|
||||
DEFINE_CLASS_0(ti_dpll, ti_dpll_driver, ti_dpll_methods,
|
||||
sizeof(struct ti_dpll_softc));
|
||||
|
||||
static devclass_t ti_dpll_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(ti_dpll, simplebus, ti_dpll_driver,
|
||||
ti_dpll_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
EARLY_DRIVER_MODULE(ti_dpll, simplebus, ti_dpll_driver, 0, 0,
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
MODULE_VERSION(ti_dpll, 1);
|
||||
|
@ -259,8 +259,6 @@ static device_method_t ti_gate_methods[] = {
|
||||
DEFINE_CLASS_0(ti_gate, ti_gate_driver, ti_gate_methods,
|
||||
sizeof(struct ti_gate_softc));
|
||||
|
||||
static devclass_t ti_gate_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(ti_gate, simplebus, ti_gate_driver,
|
||||
ti_gate_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
EARLY_DRIVER_MODULE(ti_gate, simplebus, ti_gate_driver, 0, 0,
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
MODULE_VERSION(ti_gate, 1);
|
||||
|
@ -242,8 +242,6 @@ static device_method_t ti_mux_methods[] = {
|
||||
DEFINE_CLASS_0(ti_mux, ti_mux_driver, ti_mux_methods,
|
||||
sizeof(struct ti_mux_softc));
|
||||
|
||||
static devclass_t ti_mux_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(ti_mux, simplebus, ti_mux_driver,
|
||||
ti_mux_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
EARLY_DRIVER_MODULE(ti_mux, simplebus, ti_mux_driver, 0, 0,
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
MODULE_VERSION(ti_mux, 1);
|
||||
|
@ -209,9 +209,7 @@ static driver_t cpsw_driver = {
|
||||
sizeof(struct cpsw_softc),
|
||||
};
|
||||
|
||||
static devclass_t cpsw_devclass;
|
||||
|
||||
DRIVER_MODULE(cpswss, simplebus, cpsw_driver, cpsw_devclass, 0, 0);
|
||||
DRIVER_MODULE(cpswss, simplebus, cpsw_driver, 0, 0);
|
||||
|
||||
/* Port/Slave resources. */
|
||||
static device_method_t cpswp_methods[] = {
|
||||
@ -232,14 +230,12 @@ static driver_t cpswp_driver = {
|
||||
sizeof(struct cpswp_softc),
|
||||
};
|
||||
|
||||
static devclass_t cpswp_devclass;
|
||||
|
||||
#ifdef CPSW_ETHERSWITCH
|
||||
DRIVER_MODULE(etherswitch, cpswss, etherswitch_driver, 0, 0);
|
||||
MODULE_DEPEND(cpswss, etherswitch, 1, 1, 1);
|
||||
#endif
|
||||
|
||||
DRIVER_MODULE(cpsw, cpswss, cpswp_driver, cpswp_devclass, 0, 0);
|
||||
DRIVER_MODULE(cpsw, cpswss, cpswp_driver, 0, 0);
|
||||
DRIVER_MODULE(miibus, cpsw, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(cpsw, ether, 1, 1, 1);
|
||||
MODULE_DEPEND(cpsw, miibus, 1, 1, 1);
|
||||
|
@ -141,9 +141,7 @@ static device_method_t omap4_gpio_methods[] = {
|
||||
};
|
||||
|
||||
extern driver_t ti_gpio_driver;
|
||||
static devclass_t omap4_gpio_devclass;
|
||||
|
||||
DEFINE_CLASS_1(gpio, omap4_gpio_driver, omap4_gpio_methods,
|
||||
sizeof(struct ti_gpio_softc), ti_gpio_driver);
|
||||
DRIVER_MODULE(omap4_gpio, simplebus, omap4_gpio_driver, omap4_gpio_devclass,
|
||||
0, 0);
|
||||
DRIVER_MODULE(omap4_gpio, simplebus, omap4_gpio_driver, 0, 0);
|
||||
|
@ -1497,8 +1497,6 @@ static driver_t omap4_prcm_driver = {
|
||||
sizeof(struct omap4_prcm_softc),
|
||||
};
|
||||
|
||||
static devclass_t omap4_prcm_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(omap4_prcm, simplebus, omap4_prcm_driver,
|
||||
omap4_prcm_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
EARLY_DRIVER_MODULE(omap4_prcm, simplebus, omap4_prcm_driver, 0, 0,
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
MODULE_VERSION(omap4_prcm, 1);
|
||||
|
@ -241,9 +241,8 @@ static device_method_t omap4_wugen_methods[] = {
|
||||
#endif
|
||||
DEVMETHOD_END
|
||||
};
|
||||
devclass_t omap4_wugen_devclass;
|
||||
|
||||
DEFINE_CLASS_0(omap4_wugen, omap4_wugen_driver, omap4_wugen_methods,
|
||||
sizeof(struct omap4_wugen_sc));
|
||||
EARLY_DRIVER_MODULE(omap4_wugen, simplebus, omap4_wugen_driver,
|
||||
omap4_wugen_devclass, NULL, NULL,
|
||||
EARLY_DRIVER_MODULE(omap4_wugen, simplebus, omap4_wugen_driver, NULL, NULL,
|
||||
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE + 1);
|
||||
|
@ -957,9 +957,7 @@ static driver_t ti_adc_driver = {
|
||||
sizeof(struct ti_adc_softc),
|
||||
};
|
||||
|
||||
static devclass_t ti_adc_devclass;
|
||||
|
||||
DRIVER_MODULE(ti_adc, simplebus, ti_adc_driver, ti_adc_devclass, 0, 0);
|
||||
DRIVER_MODULE(ti_adc, simplebus, ti_adc_driver, 0, 0);
|
||||
MODULE_VERSION(ti_adc, 1);
|
||||
MODULE_DEPEND(ti_adc, simplebus, 1, 1, 1);
|
||||
MODULE_DEPEND(ti_adc, ti_sysc, 1, 1, 1);
|
||||
|
@ -216,9 +216,8 @@ static driver_t ti_edma3_driver = {
|
||||
ti_edma3_methods,
|
||||
sizeof(struct ti_edma3_softc),
|
||||
};
|
||||
static devclass_t ti_edma3_devclass;
|
||||
|
||||
DRIVER_MODULE(ti_edma3, simplebus, ti_edma3_driver, ti_edma3_devclass, 0, 0);
|
||||
DRIVER_MODULE(ti_edma3, simplebus, ti_edma3_driver, 0, 0);
|
||||
MODULE_DEPEND(ti_edma3, ti_sysc, 1, 1, 1);
|
||||
|
||||
static void
|
||||
|
@ -968,9 +968,7 @@ static driver_t ti_i2c_driver = {
|
||||
sizeof(struct ti_i2c_softc),
|
||||
};
|
||||
|
||||
static devclass_t ti_i2c_devclass;
|
||||
|
||||
DRIVER_MODULE(ti_iic, simplebus, ti_i2c_driver, ti_i2c_devclass, 0, 0);
|
||||
DRIVER_MODULE(ti_iic, simplebus, ti_i2c_driver, 0, 0);
|
||||
DRIVER_MODULE(iicbus, ti_iic, iicbus_driver, 0, 0);
|
||||
|
||||
MODULE_DEPEND(ti_iic, ti_sysc, 1, 1, 1);
|
||||
|
@ -99,9 +99,7 @@ static driver_t ti_mbox_driver = {
|
||||
sizeof(struct ti_mbox_softc)
|
||||
};
|
||||
|
||||
static devclass_t ti_mbox_devclass;
|
||||
|
||||
DRIVER_MODULE(ti_mbox, simplebus, ti_mbox_driver, ti_mbox_devclass, 0, 0);
|
||||
DRIVER_MODULE(ti_mbox, simplebus, ti_mbox_driver, 0, 0);
|
||||
MODULE_DEPEND(ti_mbox, ti_sysc, 1, 1, 1);
|
||||
|
||||
static __inline uint32_t
|
||||
|
@ -141,10 +141,8 @@ static device_method_t ti_omap4_cm_methods[] = {
|
||||
DEFINE_CLASS_1(ti_omap4_cm, ti_omap4_cm_driver, ti_omap4_cm_methods,
|
||||
sizeof(struct ti_omap4_cm_softc), simplebus_driver);
|
||||
|
||||
static devclass_t ti_omap4_cm_devclass;
|
||||
EARLY_DRIVER_MODULE(ti_omap4_cm, simplebus, ti_omap4_cm_driver, 0, 0,
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_FIRST);
|
||||
|
||||
EARLY_DRIVER_MODULE(ti_omap4_cm, simplebus, ti_omap4_cm_driver,
|
||||
ti_omap4_cm_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_FIRST);
|
||||
|
||||
EARLY_DRIVER_MODULE(ti_omap4_cm, ofwbus, ti_omap4_cm_driver,
|
||||
ti_omap4_cm_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_FIRST);
|
||||
EARLY_DRIVER_MODULE(ti_omap4_cm, ofwbus, ti_omap4_cm_driver, 0, 0,
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_FIRST);
|
||||
|
@ -453,8 +453,6 @@ static driver_t ti_pinmux_driver = {
|
||||
sizeof(struct ti_pinmux_softc),
|
||||
};
|
||||
|
||||
static devclass_t ti_pinmux_devclass;
|
||||
|
||||
DRIVER_MODULE(ti_pinmux, simplebus, ti_pinmux_driver, ti_pinmux_devclass, 0, 0);
|
||||
DRIVER_MODULE(ti_pinmux, simplebus, ti_pinmux_driver, 0, 0);
|
||||
MODULE_VERSION(ti_pinmux, 1);
|
||||
MODULE_DEPEND(ti_pinmux, ti_scm, 1, 1, 1);
|
||||
|
@ -275,12 +275,9 @@ static device_method_t ti_prcm_methods[] = {
|
||||
DEFINE_CLASS_1(ti_prcm, ti_prcm_driver, ti_prcm_methods,
|
||||
sizeof(struct ti_prcm_softc), simplebus_driver);
|
||||
|
||||
static devclass_t ti_prcm_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(ti_prcm, ofwbus, ti_prcm_driver,
|
||||
ti_prcm_devclass, 0, 0, BUS_PASS_BUS);
|
||||
EARLY_DRIVER_MODULE(ti_prcm, simplebus, ti_prcm_driver,
|
||||
ti_prcm_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
EARLY_DRIVER_MODULE(ti_prcm, ofwbus, ti_prcm_driver, 0, 0, BUS_PASS_BUS);
|
||||
EARLY_DRIVER_MODULE(ti_prcm, simplebus, ti_prcm_driver, 0, 0,
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
MODULE_VERSION(ti_prcm, 1);
|
||||
MODULE_DEPEND(ti_prcm, ti_scm, 1, 1, 1);
|
||||
|
||||
|
@ -196,9 +196,7 @@ static device_method_t ti_prm_methods[] = {
|
||||
DEFINE_CLASS_1(ti_prm, ti_prm_driver, ti_prm_methods,
|
||||
sizeof(struct ti_prm_softc), simplebus_driver);
|
||||
|
||||
static devclass_t ti_prm_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(ti_prm, simplebus, ti_prm_driver,
|
||||
ti_prm_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
EARLY_DRIVER_MODULE(ti_prm, simplebus, ti_prm_driver, 0, 0,
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
MODULE_VERSION(ti_prm, 1);
|
||||
MODULE_DEPEND(ti_prm, ti_sysc, 1, 1, 1);
|
||||
|
@ -161,9 +161,7 @@ static driver_t ti_pruss_driver = {
|
||||
sizeof(struct ti_pruss_softc)
|
||||
};
|
||||
|
||||
static devclass_t ti_pruss_devclass;
|
||||
|
||||
DRIVER_MODULE(ti_pruss, simplebus, ti_pruss_driver, ti_pruss_devclass, 0, 0);
|
||||
DRIVER_MODULE(ti_pruss, simplebus, ti_pruss_driver, 0, 0);
|
||||
MODULE_DEPEND(ti_pruss, ti_sysc, 1, 1, 1);
|
||||
MODULE_DEPEND(ti_pruss, ti_prm, 1, 1, 1);
|
||||
|
||||
|
@ -152,9 +152,7 @@ static device_method_t ti_scm_methods[] = {
|
||||
DEFINE_CLASS_1(ti_scm, ti_scm_driver, ti_scm_methods,
|
||||
sizeof(struct ti_scm_softc), simplebus_driver);
|
||||
|
||||
static devclass_t ti_scm_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(ti_scm, simplebus, ti_scm_driver,
|
||||
ti_scm_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_FIRST);
|
||||
EARLY_DRIVER_MODULE(ti_scm, simplebus, ti_scm_driver, 0, 0,
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_FIRST);
|
||||
MODULE_VERSION(ti_scm, 1);
|
||||
MODULE_DEPEND(ti_scm, ti_sysc, 1, 1, 1);
|
||||
|
@ -289,9 +289,7 @@ static device_method_t ti_scm_syscon_methods[] = {
|
||||
DEFINE_CLASS_1(ti_scm_syscon, ti_scm_syscon_driver, ti_scm_syscon_methods,
|
||||
sizeof(struct ti_scm_syscon_softc), simplebus_driver);
|
||||
|
||||
static devclass_t ti_scm_syscon_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(ti_scm_syscon, simplebus, ti_scm_syscon_driver,
|
||||
ti_scm_syscon_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
EARLY_DRIVER_MODULE(ti_scm_syscon, simplebus, ti_scm_syscon_driver, 0, 0,
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
MODULE_VERSION(ti_scm_syscon, 1);
|
||||
MODULE_DEPEND(ti_scm_syscon, ti_scm, 1, 1, 1);
|
||||
|
@ -752,16 +752,13 @@ static device_method_t ti_sdhci_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t ti_sdhci_devclass;
|
||||
|
||||
static driver_t ti_sdhci_driver = {
|
||||
"sdhci_ti",
|
||||
ti_sdhci_methods,
|
||||
sizeof(struct ti_sdhci_softc),
|
||||
};
|
||||
|
||||
DRIVER_MODULE(sdhci_ti, simplebus, ti_sdhci_driver, ti_sdhci_devclass, NULL,
|
||||
NULL);
|
||||
DRIVER_MODULE(sdhci_ti, simplebus, ti_sdhci_driver, NULL, NULL);
|
||||
MODULE_DEPEND(sdhci_ti, ti_sysc, 1, 1, 1);
|
||||
SDHCI_DEPEND(sdhci_ti);
|
||||
|
||||
|
@ -1242,7 +1242,6 @@ static driver_t ti_sdma_driver = {
|
||||
ti_sdma_methods,
|
||||
sizeof(struct ti_sdma_softc),
|
||||
};
|
||||
static devclass_t ti_sdma_devclass;
|
||||
|
||||
DRIVER_MODULE(ti_sdma, simplebus, ti_sdma_driver, ti_sdma_devclass, 0, 0);
|
||||
DRIVER_MODULE(ti_sdma, simplebus, ti_sdma_driver, 0, 0);
|
||||
MODULE_DEPEND(ti_sdma, ti_sysc, 1, 1, 1);
|
||||
|
@ -565,13 +565,11 @@ static device_method_t ti_spi_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t ti_spi_devclass;
|
||||
|
||||
static driver_t ti_spi_driver = {
|
||||
"spi",
|
||||
ti_spi_methods,
|
||||
sizeof(struct ti_spi_softc),
|
||||
};
|
||||
|
||||
DRIVER_MODULE(ti_spi, simplebus, ti_spi_driver, ti_spi_devclass, 0, 0);
|
||||
DRIVER_MODULE(ti_spi, simplebus, ti_spi_driver, 0, 0);
|
||||
MODULE_DEPEND(ti_spi, ti_sysc, 1, 1, 1);
|
||||
|
@ -613,7 +613,5 @@ static device_method_t ti_sysc_methods[] = {
|
||||
DEFINE_CLASS_1(ti_sysc, ti_sysc_driver, ti_sysc_methods,
|
||||
sizeof(struct ti_sysc_softc), simplebus_driver);
|
||||
|
||||
static devclass_t ti_sysc_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(ti_sysc, simplebus, ti_sysc_driver,
|
||||
ti_sysc_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_FIRST);
|
||||
EARLY_DRIVER_MODULE(ti_sysc, simplebus, ti_sysc_driver, 0, 0,
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_FIRST);
|
||||
|
@ -89,9 +89,7 @@ static driver_t ti_wdt_driver = {
|
||||
sizeof(struct ti_wdt_softc)
|
||||
};
|
||||
|
||||
static devclass_t ti_wdt_devclass;
|
||||
|
||||
DRIVER_MODULE(ti_wdt, simplebus, ti_wdt_driver, ti_wdt_devclass, 0, 0);
|
||||
DRIVER_MODULE(ti_wdt, simplebus, ti_wdt_driver, 0, 0);
|
||||
MODULE_DEPEND(ti_wdt, ti_sysc, 1, 1, 1);
|
||||
|
||||
static __inline uint32_t
|
||||
|
@ -452,7 +452,6 @@ static driver_t twl_driver = {
|
||||
twl_methods,
|
||||
sizeof(struct twl_softc),
|
||||
};
|
||||
static devclass_t twl_devclass;
|
||||
|
||||
DRIVER_MODULE(twl, iicbus, twl_driver, twl_devclass, 0, 0);
|
||||
DRIVER_MODULE(twl, iicbus, twl_driver, 0, 0);
|
||||
MODULE_VERSION(twl, 1);
|
||||
|
@ -645,7 +645,5 @@ static driver_t twl_clks_driver = {
|
||||
sizeof(struct twl_clks_softc),
|
||||
};
|
||||
|
||||
static devclass_t twl_clks_devclass;
|
||||
|
||||
DRIVER_MODULE(twl_clks, twl, twl_clks_driver, twl_clks_devclass, 0, 0);
|
||||
DRIVER_MODULE(twl_clks, twl, twl_clks_driver, 0, 0);
|
||||
MODULE_VERSION(twl_clks, 1);
|
||||
|
@ -1024,7 +1024,5 @@ static driver_t twl_vreg_driver = {
|
||||
sizeof(struct twl_vreg_softc),
|
||||
};
|
||||
|
||||
static devclass_t twl_vreg_devclass;
|
||||
|
||||
DRIVER_MODULE(twl_vreg, twl, twl_vreg_driver, twl_vreg_devclass, 0, 0);
|
||||
DRIVER_MODULE(twl_vreg, twl, twl_vreg_driver, 0, 0);
|
||||
MODULE_VERSION(twl_vreg, 1);
|
||||
|
@ -463,6 +463,4 @@ static driver_t ehci_driver = {
|
||||
sizeof(struct omap_ehci_softc),
|
||||
};
|
||||
|
||||
static devclass_t ehci_devclass;
|
||||
|
||||
DRIVER_MODULE(omap_ehci, omap_uhh, ehci_driver, ehci_devclass, 0, 0);
|
||||
DRIVER_MODULE(omap_ehci, omap_uhh, ehci_driver, 0, 0);
|
||||
|
@ -463,5 +463,4 @@ static device_method_t omap_uhh_methods[] = {
|
||||
|
||||
DEFINE_CLASS_1(omap_uhh, omap_uhh_driver, omap_uhh_methods,
|
||||
sizeof(struct omap_uhh_softc), simplebus_driver);
|
||||
static devclass_t omap_uhh_devclass;
|
||||
DRIVER_MODULE(omap_uhh, simplebus, omap_uhh_driver, omap_uhh_devclass, 0, 0);
|
||||
DRIVER_MODULE(omap_uhh, simplebus, omap_uhh_driver, 0, 0);
|
||||
|
@ -356,6 +356,4 @@ static driver_t omap_tll_driver = {
|
||||
sizeof(struct omap_tll_softc),
|
||||
};
|
||||
|
||||
static devclass_t omap_tll_devclass;
|
||||
|
||||
DRIVER_MODULE(omap_tll, simplebus, omap_tll_driver, omap_tll_devclass, 0, 0);
|
||||
DRIVER_MODULE(omap_tll, simplebus, omap_tll_driver, 0, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user