diff options
Diffstat (limited to 'drivers/ata/libata-transport.c')
-rw-r--r-- | drivers/ata/libata-transport.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/libata-transport.c b/drivers/ata/libata-transport.c index ce9dc6207f37..3ceb3d94be26 100644 --- a/drivers/ata/libata-transport.c +++ b/drivers/ata/libata-transport.c | |||
@@ -279,6 +279,7 @@ int ata_tport_add(struct device *parent, | |||
279 | struct device *dev = &ap->tdev; | 279 | struct device *dev = &ap->tdev; |
280 | 280 | ||
281 | device_initialize(dev); | 281 | device_initialize(dev); |
282 | dev->type = &ata_port_type; | ||
282 | 283 | ||
283 | dev->parent = get_device(parent); | 284 | dev->parent = get_device(parent); |
284 | dev->release = ata_tport_release; | 285 | dev->release = ata_tport_release; |