diff options
Diffstat (limited to 'drivers/block/swim3.c')
-rw-r--r-- | drivers/block/swim3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c index 59ca2b77b574..52f2d11bc7b9 100644 --- a/drivers/block/swim3.c +++ b/drivers/block/swim3.c | |||
@@ -1004,7 +1004,7 @@ static const struct block_device_operations floppy_fops = { | |||
1004 | 1004 | ||
1005 | static int swim3_add_device(struct macio_dev *mdev, int index) | 1005 | static int swim3_add_device(struct macio_dev *mdev, int index) |
1006 | { | 1006 | { |
1007 | struct device_node *swim = mdev->ofdev.node; | 1007 | struct device_node *swim = mdev->ofdev.dev.of_node; |
1008 | struct floppy_state *fs = &floppy_states[index]; | 1008 | struct floppy_state *fs = &floppy_states[index]; |
1009 | int rc = -EBUSY; | 1009 | int rc = -EBUSY; |
1010 | 1010 | ||