diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-05 18:29:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-05 18:29:01 -0400 |
commit | fc8cc67787baf9a4cb00d3a1e8d1fe8c878f538a (patch) | |
tree | d1b2cc23c1b3cc9e73ea817ab0a7aa8d3391f320 /drivers/ide/ide_platform.c | |
parent | b14662cae0f765355d43357180f4c34916610269 (diff) | |
parent | 64110c16e012547d5c9ab71f8afd3bab025f1103 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide
Pull IDE changes from David Miller:
"Mostly cleanups, and changes part of tree-wide adjustments, this code
is in deep freeze so that's pretty much what we expect these days"
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide:
ide: sgiioc4: Staticize ioc4_ide_attach_one()
ide: palm_bk3710: add missing __iomem annotation
ide: use dev_get_platdata()
ide-disk_proc: use macro to replace magic number
ide: replace strict_strtol() with kstrtol()
Diffstat (limited to 'drivers/ide/ide_platform.c')
-rw-r--r-- | drivers/ide/ide_platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide_platform.c b/drivers/ide/ide_platform.c index ba4bfbead24b..a8b4b6af80e7 100644 --- a/drivers/ide/ide_platform.c +++ b/drivers/ide/ide_platform.c | |||
@@ -56,7 +56,7 @@ static int plat_ide_probe(struct platform_device *pdev) | |||
56 | struct ide_hw hw, *hws[] = { &hw }; | 56 | struct ide_hw hw, *hws[] = { &hw }; |
57 | struct ide_port_info d = platform_ide_port_info; | 57 | struct ide_port_info d = platform_ide_port_info; |
58 | 58 | ||
59 | pdata = pdev->dev.platform_data; | 59 | pdata = dev_get_platdata(&pdev->dev); |
60 | 60 | ||
61 | /* get a pointer to the register memory */ | 61 | /* get a pointer to the register memory */ |
62 | res_base = platform_get_resource(pdev, IORESOURCE_IO, 0); | 62 | res_base = platform_get_resource(pdev, IORESOURCE_IO, 0); |