diff options
Diffstat (limited to 'arch/arm/mach-omap2/hwspinlock.c')
-rw-r--r-- | arch/arm/mach-omap2/hwspinlock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/hwspinlock.c b/arch/arm/mach-omap2/hwspinlock.c index 1df9b5feda16..ef175acaeaa2 100644 --- a/arch/arm/mach-omap2/hwspinlock.c +++ b/arch/arm/mach-omap2/hwspinlock.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/err.h> | 21 | #include <linux/err.h> |
22 | #include <linux/hwspinlock.h> | 22 | #include <linux/hwspinlock.h> |
23 | 23 | ||
24 | #include "soc.h" | ||
24 | #include "omap_hwmod.h" | 25 | #include "omap_hwmod.h" |
25 | #include "omap_device.h" | 26 | #include "omap_device.h" |
26 | 27 | ||
@@ -46,8 +47,7 @@ static int __init hwspinlocks_init(void) | |||
46 | return -EINVAL; | 47 | return -EINVAL; |
47 | 48 | ||
48 | pdev = omap_device_build(dev_name, 0, oh, &omap_hwspinlock_pdata, | 49 | pdev = omap_device_build(dev_name, 0, oh, &omap_hwspinlock_pdata, |
49 | sizeof(struct hwspinlock_pdata), | 50 | sizeof(struct hwspinlock_pdata)); |
50 | NULL, 0, false); | ||
51 | if (IS_ERR(pdev)) { | 51 | if (IS_ERR(pdev)) { |
52 | pr_err("Can't build omap_device for %s:%s\n", dev_name, | 52 | pr_err("Can't build omap_device for %s:%s\n", dev_name, |
53 | oh_name); | 53 | oh_name); |
@@ -57,4 +57,4 @@ static int __init hwspinlocks_init(void) | |||
57 | return retval; | 57 | return retval; |
58 | } | 58 | } |
59 | /* early board code might need to reserve specific hwspinlock instances */ | 59 | /* early board code might need to reserve specific hwspinlock instances */ |
60 | postcore_initcall(hwspinlocks_init); | 60 | omap_postcore_initcall(hwspinlocks_init); |