|
@@ -282,7 +282,7 @@ static irqreturn_t bbc_i2c_interrupt(int irq, void *dev_id)
|
|
|
return IRQ_HANDLED;
|
|
|
}
|
|
|
|
|
|
-static void __init reset_one_i2c(struct bbc_i2c_bus *bp)
|
|
|
+static void reset_one_i2c(struct bbc_i2c_bus *bp)
|
|
|
{
|
|
|
writeb(I2C_PCF_PIN, bp->i2c_control_regs + 0x0);
|
|
|
writeb(bp->own, bp->i2c_control_regs + 0x1);
|
|
@@ -291,7 +291,7 @@ static void __init reset_one_i2c(struct bbc_i2c_bus *bp)
|
|
|
writeb(I2C_PCF_IDLE, bp->i2c_control_regs + 0x0);
|
|
|
}
|
|
|
|
|
|
-static struct bbc_i2c_bus * __init attach_one_i2c(struct platform_device *op, int index)
|
|
|
+static struct bbc_i2c_bus * attach_one_i2c(struct platform_device *op, int index)
|
|
|
{
|
|
|
struct bbc_i2c_bus *bp;
|
|
|
struct device_node *dp;
|