identify routine takes driver_t *, not device_t *.
This commit is contained in:
parent
f2ce0f5181
commit
a4958494e8
@ -72,7 +72,7 @@ static int padlock_process(device_t, struct cryptop *crp, int hint __unused);
|
||||
MALLOC_DEFINE(M_PADLOCK, "padlock_data", "PadLock Data");
|
||||
|
||||
static void
|
||||
padlock_identify(device_t *dev, device_t parent)
|
||||
padlock_identify(driver_t *drv, device_t parent)
|
||||
{
|
||||
/* NB: order 10 is so we get attached after h/w devices */
|
||||
if (device_find_child(parent, "padlock", -1) == NULL &&
|
||||
|
Loading…
Reference in New Issue
Block a user