]> err.no Git - linux-2.6/commitdiff
[ARM] Fix collie for -rc1
authorPavel Machek <pavel@ucw.cz>
Sat, 12 Nov 2005 20:25:25 +0000 (20:25 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 12 Nov 2005 20:25:25 +0000 (20:25 +0000)
This fixes compilation for collie after -rc1 platform_device
changes. And yes, it even boots.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig
arch/arm/common/locomo.c
arch/arm/common/scoop.c

index 3df7cbd924a10c0b859cfecb0ce708ccf531d9cd..70b007e66926c1cb9841170ce148bba06716659f 100644 (file)
@@ -702,6 +702,8 @@ menu "Device Drivers"
 
 source "drivers/base/Kconfig"
 
+source "drivers/connector/Kconfig"
+
 if ALIGNMENT_TRAP
 source "drivers/mtd/Kconfig"
 endif
index 557e52c1c869d9b15341955965f7122d37ddc355..1b7eaab02b9ec66263b0c66cd15e4522ab72f06f 100644 (file)
@@ -623,8 +623,6 @@ static int locomo_resume(struct platform_device *dev)
        locomo_writel(0x1, lchip->base + LOCOMO_KEYBOARD + LOCOMO_KCMD);
 
        spin_unlock_irqrestore(&lchip->lock, flags);
-
-       dev->power.saved_state = NULL;
        kfree(save);
 
        return 0;
@@ -775,7 +773,7 @@ static int locomo_probe(struct platform_device *dev)
 
 static int locomo_remove(struct platform_device *dev)
 {
-       struct locomo *lchip = platform__get_drvdata(dev);
+       struct locomo *lchip = platform_get_drvdata(dev);
 
        if (lchip) {
                __locomo_remove(lchip);
index 32924c6714fe54217f8db47b1cfe6684e8f3bb37..0c3cbd9a388b90d085f0e7b98113f375a2bfd512 100644 (file)
@@ -153,7 +153,7 @@ int __init scoop_probe(struct platform_device *pdev)
        printk("Sharp Scoop Device found at 0x%08x -> 0x%08x\n",(unsigned int)mem->start,(unsigned int)devptr->base);
 
        SCOOP_REG(devptr->base, SCOOP_MCR) = 0x0140;
-       reset_scoop(dev);
+       reset_scoop(&pdev->dev);
        SCOOP_REG(devptr->base, SCOOP_GPCR) = inf->io_dir & 0xffff;
        SCOOP_REG(devptr->base, SCOOP_GPWR) = inf->io_out & 0xffff;