From db98f4c4b46750796b3bea815c48f612128c6547 Mon Sep 17 00:00:00 2001 From: ian Date: Thu, 23 May 2019 18:24:27 +0000 Subject: [PATCH] Add pnpinfo to all i2c drivers that have FDT compat data. --- sys/dev/iicbus/ds1307.c | 1 + sys/dev/iicbus/ds13rtc.c | 1 + sys/dev/iicbus/isl12xx.c | 1 + sys/dev/iicbus/nxprtc.c | 1 + sys/dev/iicbus/rtc8583.c | 1 + sys/dev/iicbus/sy8106a.c | 1 + sys/dev/iicbus/syr827.c | 1 + 7 files changed, 7 insertions(+) diff --git a/sys/dev/iicbus/ds1307.c b/sys/dev/iicbus/ds1307.c index 48e2917c3fcf..7bab7e78c0d8 100644 --- a/sys/dev/iicbus/ds1307.c +++ b/sys/dev/iicbus/ds1307.c @@ -435,3 +435,4 @@ static devclass_t ds1307_devclass; DRIVER_MODULE(ds1307, iicbus, ds1307_driver, ds1307_devclass, NULL, NULL); MODULE_VERSION(ds1307, 1); MODULE_DEPEND(ds1307, iicbus, 1, 1, 1); +IICBUS_FDT_PNP_INFO(ds1307_compat_data); diff --git a/sys/dev/iicbus/ds13rtc.c b/sys/dev/iicbus/ds13rtc.c index 8f8870686040..2ac759d1e482 100644 --- a/sys/dev/iicbus/ds13rtc.c +++ b/sys/dev/iicbus/ds13rtc.c @@ -617,3 +617,4 @@ static devclass_t ds13rtc_devclass; DRIVER_MODULE(ds13rtc, iicbus, ds13rtc_driver, ds13rtc_devclass, NULL, NULL); MODULE_VERSION(ds13rtc, 1); MODULE_DEPEND(ds13rtc, iicbus, IICBB_MINVER, IICBB_PREFVER, IICBB_MAXVER); +IICBUS_FDT_PNP_INFO(compat_data); diff --git a/sys/dev/iicbus/isl12xx.c b/sys/dev/iicbus/isl12xx.c index a8bfb6570ba9..ac59d0f777bc 100644 --- a/sys/dev/iicbus/isl12xx.c +++ b/sys/dev/iicbus/isl12xx.c @@ -356,3 +356,4 @@ static devclass_t isl12xx_devclass; DRIVER_MODULE(isl12xx, iicbus, isl12xx_driver, isl12xx_devclass, NULL, NULL); MODULE_VERSION(isl12xx, 1); MODULE_DEPEND(isl12xx, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER); +IICBUS_FDT_PNP_INFO(compat_data); diff --git a/sys/dev/iicbus/nxprtc.c b/sys/dev/iicbus/nxprtc.c index 8ac5cee5c2e1..c138856dc027 100644 --- a/sys/dev/iicbus/nxprtc.c +++ b/sys/dev/iicbus/nxprtc.c @@ -826,3 +826,4 @@ static devclass_t nxprtc_devclass; DRIVER_MODULE(nxprtc, iicbus, nxprtc_driver, nxprtc_devclass, NULL, NULL); MODULE_VERSION(nxprtc, 1); MODULE_DEPEND(nxprtc, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER); +IICBUS_FDT_PNP_INFO(compat_data); diff --git a/sys/dev/iicbus/rtc8583.c b/sys/dev/iicbus/rtc8583.c index b05cf5876df1..0efed4b87372 100644 --- a/sys/dev/iicbus/rtc8583.c +++ b/sys/dev/iicbus/rtc8583.c @@ -300,3 +300,4 @@ static devclass_t rtc8583_devclass; DRIVER_MODULE(rtc8583, iicbus, rtc8583_driver, rtc8583_devclass, NULL, NULL); MODULE_VERSION(rtc8583, 1); MODULE_DEPEND(rtc8583, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER); +IICBUS_FDT_PNP_INFO(compat_data); diff --git a/sys/dev/iicbus/sy8106a.c b/sys/dev/iicbus/sy8106a.c index 7a672e338969..acb5dc178270 100644 --- a/sys/dev/iicbus/sy8106a.c +++ b/sys/dev/iicbus/sy8106a.c @@ -300,3 +300,4 @@ EARLY_DRIVER_MODULE(sy8106a, iicbus, sy8106a_driver, sy8106a_devclass, 0, 0, BUS_PASS_RESOURCE); MODULE_VERSION(sy8106a, 1); MODULE_DEPEND(sy8106a, iicbus, 1, 1, 1); +IICBUS_FDT_PNP_INFO(compat_data); diff --git a/sys/dev/iicbus/syr827.c b/sys/dev/iicbus/syr827.c index 3bd6419d0df8..7b31cb98be3f 100644 --- a/sys/dev/iicbus/syr827.c +++ b/sys/dev/iicbus/syr827.c @@ -352,3 +352,4 @@ EARLY_DRIVER_MODULE(syr827, iicbus, syr827_driver, syr827_devclass, 0, 0, BUS_PASS_RESOURCE); MODULE_VERSION(syr827, 1); MODULE_DEPEND(syr827, iicbus, 1, 1, 1); +IICBUS_FDT_PNP_INFO(compat_data);