mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-30 16:51:41 +00:00
Correct signature for the identify routine. The bad parameter wasn't
used at all, so this is just a tidiness excersize.
This commit is contained in:
parent
ef56900151
commit
85d27a4f81
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188125
@ -91,7 +91,7 @@ struct atapi_hcb {
|
||||
enum reinit_reason { BOOT_ATTACH, ATTACH, RESET };
|
||||
|
||||
/* Device methods */
|
||||
static void atapi_cam_identify(device_t *dev, device_t parent);
|
||||
static void atapi_cam_identify(driver_t *dev, device_t parent);
|
||||
static int atapi_cam_probe(device_t dev);
|
||||
static int atapi_cam_attach(device_t dev);
|
||||
static int atapi_cam_detach(device_t dev);
|
||||
@ -144,7 +144,7 @@ MODULE_DEPEND(atapicam, ata, 1, 1, 1);
|
||||
MODULE_DEPEND(atapicam, cam, 1, 1, 1);
|
||||
|
||||
static void
|
||||
atapi_cam_identify(device_t *dev, device_t parent)
|
||||
atapi_cam_identify(driver_t *driver, device_t parent)
|
||||
{
|
||||
struct atapi_xpt_softc *scp =
|
||||
malloc (sizeof (struct atapi_xpt_softc), M_ATACAM, M_NOWAIT|M_ZERO);
|
||||
|
Loading…
Reference in New Issue
Block a user