mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Set the wrong softc size when defining the ofw_iicbus class. Change it to
the correct value.
This commit is contained in:
parent
16ef0f3b21
commit
ed366ae5c8
1 changed files with 2 additions and 2 deletions
|
|
@ -78,8 +78,8 @@ struct ofw_iicbus_devinfo {
|
|||
|
||||
static devclass_t ofwiicbus_devclass;
|
||||
|
||||
DEFINE_CLASS_1(iicbus, ofw_iicbus_driver, ofw_iicbus_methods, 1 /* no softc */,
|
||||
iicbus_driver);
|
||||
DEFINE_CLASS_1(iicbus, ofw_iicbus_driver, ofw_iicbus_methods,
|
||||
sizeof(struct iicbus_softc), iicbus_driver);
|
||||
DRIVER_MODULE(ofw_iicbus, iichb, ofw_iicbus_driver, ofwiicbus_devclass, 0, 0);
|
||||
MODULE_VERSION(ofw_iicbus, 1);
|
||||
MODULE_DEPEND(ofw_iicbus, iicbus, 1, 1, 1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue