[PATCH] Add ide_bus_type probe and remove methods
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
bbbe3a41f7
commit
4031bbe4bb
@@ -983,8 +983,13 @@ typedef struct ide_driver_s {
|
||||
ide_startstop_t (*abort)(ide_drive_t *, struct request *rq);
|
||||
ide_proc_entry_t *proc;
|
||||
struct device_driver gen_driver;
|
||||
int (*probe)(ide_drive_t *);
|
||||
void (*remove)(ide_drive_t *);
|
||||
void (*shutdown)(ide_drive_t *);
|
||||
} ide_driver_t;
|
||||
|
||||
#define to_ide_driver(drv) container_of(drv, ide_driver_t, gen_driver)
|
||||
|
||||
int generic_ide_ioctl(ide_drive_t *, struct file *, struct block_device *, unsigned, unsigned long);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user