identify routine takes driver_t *, not device_t *.

This commit is contained in:
Warner Losh 2009-02-05 19:30:28 +00:00
parent f2ce0f5181
commit a4958494e8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188171

View File

@ -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 &&