diff options
author | Heiko Stuebner <heiko@sntech.de> | 2012-01-27 15:35:25 +0900 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-01-27 15:35:47 +0900 |
commit | 04511a6faeed146030dcc5b892beff30fa0a7c9b (patch) | |
tree | 6b57884f33f018cfd781630a1f5542f43f174c79 /arch/arm/mach-s3c2443/irq.c | |
parent | 9a60571ecf918162553592ef8c4b4450155394a0 (diff) | |
download | blackbird-op-linux-04511a6faeed146030dcc5b892beff30fa0a7c9b.tar.gz blackbird-op-linux-04511a6faeed146030dcc5b892beff30fa0a7c9b.zip |
ARM: SAMSUNG: Fix missing api-change from subsys_interface change
Commit 4a858cfc9a (arm: convert sysdev_class to a regular subsystem)
converted the samsung sysdevs into subsys_interface instances.
While the original add-function only had a (struct sys_device *)
parameter, the dev_add from subsys_interface needs
(struct device *, struct subsys_interface *)
leading to "initialized from incompatible pointer type" warnings.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c2443/irq.c')
-rw-r--r-- | arch/arm/mach-s3c2443/irq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2443/irq.c b/arch/arm/mach-s3c2443/irq.c index 35e4ff24fb43..ac2829f56d12 100644 --- a/arch/arm/mach-s3c2443/irq.c +++ b/arch/arm/mach-s3c2443/irq.c @@ -241,7 +241,8 @@ static int __init s3c2443_add_sub(unsigned int base, return 0; } -static int __init s3c2443_irq_add(struct device *dev) +static int __init s3c2443_irq_add(struct device *dev, + struct subsys_interface *sif) { printk("S3C2443: IRQ Support\n"); |