Skip to content

Commit

Permalink
I2C: Fix section mismatch errors in i2c-octeon.c
Browse files Browse the repository at this point in the history
  • Loading branch information
David Daney authored and ralfbaechle committed Apr 30, 2010
1 parent 94c26c9 commit 20f1216
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/i2c/busses/i2c-octeon.c
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ static struct i2c_adapter octeon_i2c_ops = {
/**
* octeon_i2c_setclock - Calculate and set clock divisors.
*/
static int __init octeon_i2c_setclock(struct octeon_i2c *i2c)
static int __devinit octeon_i2c_setclock(struct octeon_i2c *i2c)
{
int tclk, thp_base, inc, thp_idx, mdiv_idx, ndiv_idx, foscl, diff;
int thp = 0x18, mdiv = 2, ndiv = 0, delta_hz = 1000000;
Expand Down Expand Up @@ -490,7 +490,7 @@ static int __init octeon_i2c_setclock(struct octeon_i2c *i2c)
return 0;
}

static int __init octeon_i2c_initlowlevel(struct octeon_i2c *i2c)
static int __devinit octeon_i2c_initlowlevel(struct octeon_i2c *i2c)
{
u8 status;
int tries;
Expand Down

0 comments on commit 20f1216

Please sign in to comment.