aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/qcom_qup
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-05-10 17:21:39 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-05-10 17:21:39 +0000
commit53e1cbefe4b81e6ecdad529fcd252600f838cf69 (patch)
treec80099c07150d1f929eb21d3c993b607fa5427a8 /sys/dev/qcom_qup
parentb5ed1dc10c8cf1617e989372cd1dcff72e9b4224 (diff)
Diffstat (limited to 'sys/dev/qcom_qup')
-rw-r--r--sys/dev/qcom_qup/qcom_spi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/qcom_qup/qcom_spi.c b/sys/dev/qcom_qup/qcom_spi.c
index 706bef242043..5e7aaf8b181b 100644
--- a/sys/dev/qcom_qup/qcom_spi.c
+++ b/sys/dev/qcom_qup/qcom_spi.c
@@ -902,9 +902,7 @@ static driver_t qcom_spi_driver = {
sizeof(struct qcom_spi_softc),
};
-static devclass_t qcom_spi_devclass;
-
-DRIVER_MODULE(qcom_spi, simplebus, qcom_spi_driver, qcom_spi_devclass, 0, 0);
+DRIVER_MODULE(qcom_spi, simplebus, qcom_spi_driver, 0, 0);
DRIVER_MODULE(ofw_spibus, qcom_spi, ofw_spibus_driver, 0, 0);
MODULE_DEPEND(qcom_spi, ofw_spibus, 1, 1, 1);
SIMPLEBUS_PNP_INFO(compat_data);