diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-03-08 10:18:08 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-03-08 11:33:27 +0100 |
commit | 1cb110fb034e4edb5b7c72fbea72f3140d7f17ed (patch) | |
tree | 1a9c4bedb1c01870a31fe99ae5f6bd47cb8729b9 /include/ata_drive.h | |
parent | a2063d101598686490ce990e74dd20c72c309720 (diff) | |
download | barebox-1cb110fb034e4edb5b7c72fbea72f3140d7f17ed.tar.gz barebox-1cb110fb034e4edb5b7c72fbea72f3140d7f17ed.tar.xz |
ata: Add init callback to ata_port_operations
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/ata_drive.h')
-rw-r--r-- | include/ata_drive.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ata_drive.h b/include/ata_drive.h index 876aa74970..4f8b6c05fd 100644 --- a/include/ata_drive.h +++ b/include/ata_drive.h @@ -80,6 +80,7 @@ struct ata_ioports { struct ata_port; struct ata_port_operations { + int (*init)(struct ata_port *port); int (*read)(struct ata_port *port, void *buf, unsigned int block, int num_blocks); int (*write)(struct ata_port *port, const void *buf, unsigned int block, int num_blocks); int (*read_id)(struct ata_port *port, void *buf); |