summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ide-sff.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/ide-sff.c')
-rw-r--r--drivers/ata/ide-sff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/ide-sff.c b/drivers/ata/ide-sff.c
index 3dd6f63e09..632b0e5910 100644
--- a/drivers/ata/ide-sff.c
+++ b/drivers/ata/ide-sff.c
@@ -333,6 +333,7 @@ int ide_port_register(struct device_d *dev, struct ata_ioports *io)
ide->io = io;
ide->port.ops = &ide_ops;
+ ide->port.dev = dev;
ret = ata_port_register(&ide->port);