arm/arm64 freescale: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
82d4dc0621
commit
ea538dab84
@ -200,7 +200,5 @@ static driver_t ocotp_driver = {
|
|||||||
sizeof(struct ocotp_softc)
|
sizeof(struct ocotp_softc)
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t ocotp_devclass;
|
EARLY_DRIVER_MODULE(ocotp, simplebus, ocotp_driver, 0, 0,
|
||||||
|
|
||||||
EARLY_DRIVER_MODULE(ocotp, simplebus, ocotp_driver, ocotp_devclass, 0, 0,
|
|
||||||
BUS_PASS_CPU + BUS_PASS_ORDER_FIRST);
|
BUS_PASS_CPU + BUS_PASS_ORDER_FIRST);
|
||||||
|
@ -148,10 +148,7 @@ static driver_t imxccm_driver = {
|
|||||||
sizeof(struct imxccm_softc),
|
sizeof(struct imxccm_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t imxccm_devclass;
|
EARLY_DRIVER_MODULE(imxccm, simplebus, imxccm_driver, 0, 0, BUS_PASS_CPU);
|
||||||
|
|
||||||
EARLY_DRIVER_MODULE(imxccm, simplebus, imxccm_driver, imxccm_devclass, 0, 0,
|
|
||||||
BUS_PASS_CPU);
|
|
||||||
|
|
||||||
static inline uint32_t
|
static inline uint32_t
|
||||||
pll_read_4(struct imxccm_softc *sc, int pll, int reg)
|
pll_read_4(struct imxccm_softc *sc, int pll, int reg)
|
||||||
|
@ -424,15 +424,13 @@ static device_method_t ipu3_fb_methods[] = {
|
|||||||
{ 0, 0 }
|
{ 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t ipu3_fb_devclass;
|
|
||||||
|
|
||||||
static driver_t ipu3_fb_driver = {
|
static driver_t ipu3_fb_driver = {
|
||||||
"fb",
|
"fb",
|
||||||
ipu3_fb_methods,
|
ipu3_fb_methods,
|
||||||
sizeof(struct ipu3sc_softc),
|
sizeof(struct ipu3sc_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
DRIVER_MODULE(ipu3fb, simplebus, ipu3_fb_driver, ipu3_fb_devclass, 0, 0);
|
DRIVER_MODULE(ipu3fb, simplebus, ipu3_fb_driver, 0, 0);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Video driver routines and glue.
|
* Video driver routines and glue.
|
||||||
|
@ -353,12 +353,10 @@ static device_method_t ipu3_fb_methods[] = {
|
|||||||
{ 0, 0 }
|
{ 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t ipu3_fb_devclass;
|
|
||||||
|
|
||||||
static driver_t ipu3_fb_driver = {
|
static driver_t ipu3_fb_driver = {
|
||||||
"fb",
|
"fb",
|
||||||
ipu3_fb_methods,
|
ipu3_fb_methods,
|
||||||
sizeof(struct ipu3sc_softc),
|
sizeof(struct ipu3sc_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
DRIVER_MODULE(fb, simplebus, ipu3_fb_driver, ipu3_fb_devclass, 0, 0);
|
DRIVER_MODULE(fb, simplebus, ipu3_fb_driver, 0, 0);
|
||||||
|
@ -810,9 +810,7 @@ static driver_t imx6_anatop_driver = {
|
|||||||
sizeof(struct imx6_anatop_softc)
|
sizeof(struct imx6_anatop_softc)
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t imx6_anatop_devclass;
|
EARLY_DRIVER_MODULE(imx6_anatop, simplebus, imx6_anatop_driver, 0, 0,
|
||||||
|
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||||
EARLY_DRIVER_MODULE(imx6_anatop, simplebus, imx6_anatop_driver,
|
EARLY_DRIVER_MODULE(imx6_anatop, ofwbus, imx6_anatop_driver, 0, 0,
|
||||||
imx6_anatop_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||||
EARLY_DRIVER_MODULE(imx6_anatop, ofwbus, imx6_anatop_driver,
|
|
||||||
imx6_anatop_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
|
||||||
|
@ -152,6 +152,4 @@ static driver_t audmux_driver = {
|
|||||||
sizeof(struct audmux_softc),
|
sizeof(struct audmux_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t audmux_devclass;
|
DRIVER_MODULE(audmux, simplebus, audmux_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(audmux, simplebus, audmux_driver, audmux_devclass, 0, 0);
|
|
||||||
|
@ -514,7 +514,5 @@ static driver_t ccm_driver = {
|
|||||||
sizeof(struct ccm_softc)
|
sizeof(struct ccm_softc)
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t ccm_devclass;
|
EARLY_DRIVER_MODULE(ccm, simplebus, ccm_driver, 0, 0,
|
||||||
|
|
||||||
EARLY_DRIVER_MODULE(ccm, simplebus, ccm_driver, ccm_devclass, 0, 0,
|
|
||||||
BUS_PASS_CPU + BUS_PASS_ORDER_EARLY);
|
BUS_PASS_CPU + BUS_PASS_ORDER_EARLY);
|
||||||
|
@ -213,6 +213,4 @@ static driver_t imx_hdmi_driver = {
|
|||||||
sizeof(struct imx_hdmi_softc)
|
sizeof(struct imx_hdmi_softc)
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t imx_hdmi_devclass;
|
DRIVER_MODULE(hdmi, simplebus, imx_hdmi_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(hdmi, simplebus, imx_hdmi_driver, imx_hdmi_devclass, 0, 0);
|
|
||||||
|
@ -1265,8 +1265,6 @@ static driver_t ipu_driver = {
|
|||||||
sizeof(struct ipu_softc),
|
sizeof(struct ipu_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t ipu_devclass;
|
DRIVER_MODULE(ipu, simplebus, ipu_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(ipu, simplebus, ipu_driver, ipu_devclass, 0, 0);
|
|
||||||
MODULE_VERSION(ipu, 1);
|
MODULE_VERSION(ipu, 1);
|
||||||
MODULE_DEPEND(ipu, simplebus, 1, 1, 1);
|
MODULE_DEPEND(ipu, simplebus, 1, 1, 1);
|
||||||
|
@ -517,8 +517,6 @@ static driver_t sdma_driver = {
|
|||||||
sizeof(struct sdma_softc),
|
sizeof(struct sdma_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t sdma_devclass;
|
|
||||||
|
|
||||||
/* We want to attach after all interrupt controllers, before anything else. */
|
/* We want to attach after all interrupt controllers, before anything else. */
|
||||||
EARLY_DRIVER_MODULE(sdma, simplebus, sdma_driver, sdma_devclass, 0, 0,
|
EARLY_DRIVER_MODULE(sdma, simplebus, sdma_driver, 0, 0,
|
||||||
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LAST);
|
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LAST);
|
||||||
|
@ -229,7 +229,5 @@ static driver_t snvs_driver = {
|
|||||||
sizeof(struct snvs_softc),
|
sizeof(struct snvs_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t snvs_devclass;
|
DRIVER_MODULE(snvs, simplebus, snvs_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(snvs, simplebus, snvs_driver, snvs_devclass, 0, 0);
|
|
||||||
SIMPLEBUS_PNP_INFO(compat_data);
|
SIMPLEBUS_PNP_INFO(compat_data);
|
||||||
|
@ -168,6 +168,4 @@ static driver_t src_driver = {
|
|||||||
sizeof(struct src_softc)
|
sizeof(struct src_softc)
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t src_devclass;
|
DRIVER_MODULE(src, simplebus, src_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(src, simplebus, src_driver, src_devclass, 0, 0);
|
|
||||||
|
@ -198,12 +198,10 @@ static driver_t usbphy_driver = {
|
|||||||
sizeof(struct usbphy_softc)
|
sizeof(struct usbphy_softc)
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t usbphy_devclass;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This driver needs to start before the ehci driver, but later than the usual
|
* This driver needs to start before the ehci driver, but later than the usual
|
||||||
* "special" drivers like clocks and cpu. Ehci starts at DEFAULT so SUPPORTDEV
|
* "special" drivers like clocks and cpu. Ehci starts at DEFAULT so SUPPORTDEV
|
||||||
* is where this driver fits most.
|
* is where this driver fits most.
|
||||||
*/
|
*/
|
||||||
EARLY_DRIVER_MODULE(usbphy, simplebus, usbphy_driver, usbphy_devclass, 0, 0,
|
EARLY_DRIVER_MODULE(usbphy, simplebus, usbphy_driver, 0, 0,
|
||||||
BUS_PASS_SUPPORTDEV + BUS_PASS_ORDER_MIDDLE);
|
BUS_PASS_SUPPORTDEV + BUS_PASS_ORDER_MIDDLE);
|
||||||
|
@ -485,7 +485,4 @@ static driver_t epit_driver = {
|
|||||||
sizeof(struct epit_softc),
|
sizeof(struct epit_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t epit_devclass;
|
EARLY_DRIVER_MODULE(imx_epit, simplebus, epit_driver, 0, 0, BUS_PASS_TIMER);
|
||||||
|
|
||||||
EARLY_DRIVER_MODULE(imx_epit, simplebus, epit_driver, epit_devclass, 0,
|
|
||||||
0, BUS_PASS_TIMER);
|
|
||||||
|
@ -952,7 +952,6 @@ static driver_t imx51_gpio_driver = {
|
|||||||
imx51_gpio_methods,
|
imx51_gpio_methods,
|
||||||
sizeof(struct imx51_gpio_softc),
|
sizeof(struct imx51_gpio_softc),
|
||||||
};
|
};
|
||||||
static devclass_t imx51_gpio_devclass;
|
|
||||||
|
|
||||||
EARLY_DRIVER_MODULE(imx51_gpio, simplebus, imx51_gpio_driver,
|
EARLY_DRIVER_MODULE(imx51_gpio, simplebus, imx51_gpio_driver, 0, 0,
|
||||||
imx51_gpio_devclass, 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE);
|
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE);
|
||||||
|
@ -394,10 +394,7 @@ static driver_t imx_gpt_driver = {
|
|||||||
sizeof(struct imx_gpt_softc),
|
sizeof(struct imx_gpt_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t imx_gpt_devclass;
|
EARLY_DRIVER_MODULE(imx_gpt, simplebus, imx_gpt_driver, 0, 0, BUS_PASS_TIMER);
|
||||||
|
|
||||||
EARLY_DRIVER_MODULE(imx_gpt, simplebus, imx_gpt_driver, imx_gpt_devclass, 0,
|
|
||||||
0, BUS_PASS_TIMER);
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
imx_gpt_do_delay(int usec, void *arg)
|
imx_gpt_do_delay(int usec, void *arg)
|
||||||
|
@ -200,9 +200,8 @@ static driver_t i2c_driver = {
|
|||||||
i2c_methods,
|
i2c_methods,
|
||||||
sizeof(struct i2c_softc),
|
sizeof(struct i2c_softc),
|
||||||
};
|
};
|
||||||
static devclass_t i2c_devclass;
|
|
||||||
|
|
||||||
DRIVER_MODULE(imx_i2c, simplebus, i2c_driver, i2c_devclass, 0, 0);
|
DRIVER_MODULE(imx_i2c, simplebus, i2c_driver, 0, 0);
|
||||||
DRIVER_MODULE(ofw_iicbus, imx_i2c, ofw_iicbus_driver, 0, 0);
|
DRIVER_MODULE(ofw_iicbus, imx_i2c, ofw_iicbus_driver, 0, 0);
|
||||||
MODULE_DEPEND(imx_i2c, iicbus, 1, 1, 1);
|
MODULE_DEPEND(imx_i2c, iicbus, 1, 1, 1);
|
||||||
SIMPLEBUS_PNP_INFO(compat_data);
|
SIMPLEBUS_PNP_INFO(compat_data);
|
||||||
|
@ -324,7 +324,5 @@ static driver_t imx_iomux_driver = {
|
|||||||
sizeof(struct iomux_softc),
|
sizeof(struct iomux_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t imx_iomux_devclass;
|
EARLY_DRIVER_MODULE(imx_iomux, simplebus, imx_iomux_driver, 0, 0,
|
||||||
|
BUS_PASS_CPU + BUS_PASS_ORDER_LATE);
|
||||||
EARLY_DRIVER_MODULE(imx_iomux, simplebus, imx_iomux_driver,
|
|
||||||
imx_iomux_devclass, 0, 0, BUS_PASS_CPU + BUS_PASS_ORDER_LATE);
|
|
||||||
|
@ -114,6 +114,4 @@ static driver_t usbphy_driver = {
|
|||||||
sizeof(struct usbphy_softc)
|
sizeof(struct usbphy_softc)
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t usbphy_devclass;
|
DRIVER_MODULE(usbphy, simplebus, usbphy_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(usbphy, simplebus, usbphy_driver, usbphy_devclass, 0, 0);
|
|
||||||
|
@ -603,9 +603,7 @@ static driver_t spi_driver = {
|
|||||||
sizeof(struct spi_softc),
|
sizeof(struct spi_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t spi_devclass;
|
DRIVER_MODULE(imx_spi, simplebus, spi_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(imx_spi, simplebus, spi_driver, spi_devclass, 0, 0);
|
|
||||||
DRIVER_MODULE(ofw_spibus, imx_spi, ofw_spibus_driver, 0, 0);
|
DRIVER_MODULE(ofw_spibus, imx_spi, ofw_spibus_driver, 0, 0);
|
||||||
MODULE_DEPEND(imx_spi, ofw_spibus, 1, 1, 1);
|
MODULE_DEPEND(imx_spi, ofw_spibus, 1, 1, 1);
|
||||||
SIMPLEBUS_PNP_INFO(compat_data);
|
SIMPLEBUS_PNP_INFO(compat_data);
|
||||||
|
@ -256,8 +256,5 @@ static driver_t imx_wdog_driver = {
|
|||||||
sizeof(struct imx_wdog_softc),
|
sizeof(struct imx_wdog_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t imx_wdog_devclass;
|
EARLY_DRIVER_MODULE(imx_wdog, simplebus, imx_wdog_driver, 0, 0, BUS_PASS_TIMER);
|
||||||
|
|
||||||
EARLY_DRIVER_MODULE(imx_wdog, simplebus, imx_wdog_driver,
|
|
||||||
imx_wdog_devclass, 0, 0, BUS_PASS_TIMER);
|
|
||||||
SIMPLEBUS_PNP_INFO(compat_data);
|
SIMPLEBUS_PNP_INFO(compat_data);
|
||||||
|
@ -305,7 +305,4 @@ static driver_t tzic_driver = {
|
|||||||
sizeof(struct tzic_softc),
|
sizeof(struct tzic_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t tzic_devclass;
|
EARLY_DRIVER_MODULE(tzic, ofwbus, tzic_driver, 0, 0, BUS_PASS_INTERRUPT);
|
||||||
|
|
||||||
EARLY_DRIVER_MODULE(tzic, ofwbus, tzic_driver, tzic_devclass, 0, 0,
|
|
||||||
BUS_PASS_INTERRUPT);
|
|
||||||
|
@ -235,6 +235,4 @@ static driver_t adc_driver = {
|
|||||||
sizeof(struct adc_softc),
|
sizeof(struct adc_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t adc_devclass;
|
DRIVER_MODULE(adc, simplebus, adc_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(adc, simplebus, adc_driver, adc_devclass, 0, 0);
|
|
||||||
|
@ -241,6 +241,4 @@ static driver_t anadig_driver = {
|
|||||||
sizeof(struct anadig_softc),
|
sizeof(struct anadig_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t anadig_devclass;
|
DRIVER_MODULE(anadig, simplebus, anadig_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(anadig, simplebus, anadig_driver, anadig_devclass, 0, 0);
|
|
||||||
|
@ -496,6 +496,4 @@ static driver_t ccm_driver = {
|
|||||||
sizeof(struct ccm_softc),
|
sizeof(struct ccm_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t ccm_devclass;
|
DRIVER_MODULE(ccm, simplebus, ccm_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(ccm, simplebus, ccm_driver, ccm_devclass, 0, 0);
|
|
||||||
|
@ -466,6 +466,4 @@ static driver_t dcu_driver = {
|
|||||||
sizeof(struct dcu_softc),
|
sizeof(struct dcu_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t dcu_devclass;
|
DRIVER_MODULE(fb, simplebus, dcu_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(fb, simplebus, dcu_driver, dcu_devclass, 0, 0);
|
|
||||||
|
@ -150,6 +150,4 @@ static driver_t dmamux_driver = {
|
|||||||
sizeof(struct dmamux_softc),
|
sizeof(struct dmamux_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t dmamux_devclass;
|
DRIVER_MODULE(dmamux, simplebus, dmamux_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(dmamux, simplebus, dmamux_driver, dmamux_devclass, 0, 0);
|
|
||||||
|
@ -335,6 +335,4 @@ static driver_t edma_driver = {
|
|||||||
sizeof(struct edma_softc),
|
sizeof(struct edma_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t edma_devclass;
|
DRIVER_MODULE(edma, simplebus, edma_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(edma, simplebus, edma_driver, edma_devclass, 0, 0);
|
|
||||||
|
@ -163,9 +163,7 @@ static driver_t ehci_driver = {
|
|||||||
sizeof(ehci_softc_t)
|
sizeof(ehci_softc_t)
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t ehci_devclass;
|
DRIVER_MODULE(vybrid_ehci, simplebus, ehci_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(vybrid_ehci, simplebus, ehci_driver, ehci_devclass, 0, 0);
|
|
||||||
MODULE_DEPEND(vybrid_ehci, usb, 1, 1, 1);
|
MODULE_DEPEND(vybrid_ehci, usb, 1, 1, 1);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -381,6 +381,4 @@ static driver_t vf_gpio_driver = {
|
|||||||
sizeof(struct vf_gpio_softc),
|
sizeof(struct vf_gpio_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t vf_gpio_devclass;
|
DRIVER_MODULE(vf_gpio, simplebus, vf_gpio_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(vf_gpio, simplebus, vf_gpio_driver, vf_gpio_devclass, 0, 0);
|
|
||||||
|
@ -607,8 +607,7 @@ static device_method_t i2c_methods[] = {
|
|||||||
{ 0, 0 }
|
{ 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t i2c_devclass;
|
|
||||||
static DEFINE_CLASS_0(i2c, i2c_driver, i2c_methods, sizeof(struct i2c_softc));
|
static DEFINE_CLASS_0(i2c, i2c_driver, i2c_methods, sizeof(struct i2c_softc));
|
||||||
DRIVER_MODULE(vybrid_i2c, simplebus, i2c_driver, i2c_devclass, 0, 0);
|
DRIVER_MODULE(vybrid_i2c, simplebus, i2c_driver, 0, 0);
|
||||||
DRIVER_MODULE(iicbus, i2c, iicbus_driver, 0, 0);
|
DRIVER_MODULE(iicbus, i2c, iicbus_driver, 0, 0);
|
||||||
DRIVER_MODULE(ofw_iicbus, i2c, ofw_iicbus_driver, 0, 0);
|
DRIVER_MODULE(ofw_iicbus, i2c, ofw_iicbus_driver, 0, 0);
|
||||||
|
@ -207,6 +207,4 @@ static driver_t iomuxc_driver = {
|
|||||||
sizeof(struct iomuxc_softc),
|
sizeof(struct iomuxc_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t iomuxc_devclass;
|
DRIVER_MODULE(iomuxc, simplebus, iomuxc_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(iomuxc, simplebus, iomuxc_driver, iomuxc_devclass, 0, 0);
|
|
||||||
|
@ -121,6 +121,4 @@ static driver_t mscm_driver = {
|
|||||||
sizeof(struct mscm_softc),
|
sizeof(struct mscm_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t mscm_devclass;
|
DRIVER_MODULE(mscm, simplebus, mscm_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(mscm, simplebus, mscm_driver, mscm_devclass, 0, 0);
|
|
||||||
|
@ -244,6 +244,4 @@ static driver_t port_driver = {
|
|||||||
sizeof(struct port_softc),
|
sizeof(struct port_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t port_devclass;
|
DRIVER_MODULE(port, simplebus, port_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(port, simplebus, port_driver, port_devclass, 0, 0);
|
|
||||||
|
@ -288,6 +288,4 @@ static driver_t spi_driver = {
|
|||||||
sizeof(struct spi_softc),
|
sizeof(struct spi_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t spi_devclass;
|
DRIVER_MODULE(spi, simplebus, spi_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(spi, simplebus, spi_driver, spi_devclass, 0, 0);
|
|
||||||
|
@ -145,6 +145,4 @@ static driver_t src_driver = {
|
|||||||
sizeof(struct src_softc),
|
sizeof(struct src_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t src_devclass;
|
DRIVER_MODULE(src, simplebus, src_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(src, simplebus, src_driver, src_devclass, 0, 0);
|
|
||||||
|
@ -130,6 +130,4 @@ static driver_t tcon_driver = {
|
|||||||
sizeof(struct tcon_softc),
|
sizeof(struct tcon_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t tcon_devclass;
|
DRIVER_MODULE(tcon, simplebus, tcon_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(tcon, simplebus, tcon_driver, tcon_devclass, 0, 0);
|
|
||||||
|
@ -239,9 +239,7 @@ static driver_t imx7gpc_driver = {
|
|||||||
sizeof(struct imx7gpc_softc),
|
sizeof(struct imx7gpc_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t imx7gpc_devclass;
|
EARLY_DRIVER_MODULE(imx7gpc, ofwbus, imx7gpc_driver, 0, 0,
|
||||||
|
|
||||||
EARLY_DRIVER_MODULE(imx7gpc, ofwbus, imx7gpc_driver, imx7gpc_devclass, 0, 0,
|
|
||||||
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
||||||
EARLY_DRIVER_MODULE(imx7gpc, simplebus, imx7gpc_driver, imx7gpc_devclass, 0, 0,
|
EARLY_DRIVER_MODULE(imx7gpc, simplebus, imx7gpc_driver, 0, 0,
|
||||||
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
||||||
|
@ -480,7 +480,5 @@ static driver_t ccm_driver = {
|
|||||||
sizeof(struct ccm_softc)
|
sizeof(struct ccm_softc)
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t ccm_devclass;
|
EARLY_DRIVER_MODULE(ccm, simplebus, ccm_driver, 0, 0,
|
||||||
|
|
||||||
EARLY_DRIVER_MODULE(ccm, simplebus, ccm_driver, ccm_devclass, 0, 0,
|
|
||||||
BUS_PASS_CPU + BUS_PASS_ORDER_EARLY);
|
BUS_PASS_CPU + BUS_PASS_ORDER_EARLY);
|
||||||
|
Loading…
Reference in New Issue
Block a user