Skip to contentSkip to conversation

fix collie for -rc1

PATCH Applied Pavel Machek 2 participants 2 messages Nov 12, 2005 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix collie for -rc1

This fixes compilation for collie after -rc1 platform_device changes. And yes, it even boots.

arch/arm/common/locomo.c +1 -3
@@ -623,8 +623,6 @@ static int locomo_resume(struct platform
 	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 +820,7 @@ static int locomo_probe(struct platform_
 
 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);
arch/arm/common/scoop.c +1 -1
@@ -153,7 +153,7 @@ int __init scoop_probe(struct platform_d
 	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;
 
Signature · 1 line
Thanks, Sharp!
Applied
#1 lore raw
Quoted 2 lines · Pavel Machek

This fixes compilation for collie after -rc1 platform_device changes. And yes, it even boots.

Thanks, applied.

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core