diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2022-04-20 16:40:50 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2022-05-06 22:39:31 +0000 |
| commit | 3144501a3f777d3bf89df9728d437ae177df47eb (patch) | |
| tree | cd87b9922d9572552b416a786a68dffb10167d0a /sys/dev/ips | |
| parent | 05a86e7c3cc1549aec15779a1d107ee683b074a7 (diff) | |
Diffstat (limited to 'sys/dev/ips')
| -rw-r--r-- | sys/dev/ips/ips_disk.c | 3 | ||||
| -rw-r--r-- | sys/dev/ips/ips_pci.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/ips/ips_disk.c b/sys/dev/ips/ips_disk.c index 7ae489ea8201..eb9ec08c1d94 100644 --- a/sys/dev/ips/ips_disk.c +++ b/sys/dev/ips/ips_disk.c @@ -62,8 +62,7 @@ static driver_t ipsd_driver = { sizeof(ipsdisk_softc_t) }; -static devclass_t ipsd_devclass; -DRIVER_MODULE(ipsd, ips, ipsd_driver, ipsd_devclass, 0, 0); +DRIVER_MODULE(ipsd, ips, ipsd_driver, 0, 0); /* handle opening of disk device. It must set up all information about the geometry and size of the disk */ diff --git a/sys/dev/ips/ips_pci.c b/sys/dev/ips/ips_pci.c index 588e14d5e6b8..3d1d0c68728f 100644 --- a/sys/dev/ips/ips_pci.c +++ b/sys/dev/ips/ips_pci.c @@ -219,5 +219,4 @@ static driver_t ips_pci_driver = { sizeof(ips_softc_t), }; -static devclass_t ips_devclass; -DRIVER_MODULE(ips, pci, ips_pci_driver, ips_devclass, 0, 0); +DRIVER_MODULE(ips, pci, ips_pci_driver, 0, 0); |
