Skip to content

Commit

Permalink
mfd: Fix stmpe section mismatch
Browse files Browse the repository at this point in the history
This fixes:

WARNING: drivers/built-in.o(.text+0xf368f): Section mismatch in reference from
the function stmpe_probe() to the function .devinit.text:stmpe_chip_init()
The function stmpe_probe() references the function __devinit stmpe_chip_init().

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Samuel Ortiz committed Jan 8, 2012
1 parent dba61c8 commit 8ad1a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/stmpe.c
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ static int __devinit stmpe_devices_init(struct stmpe *stmpe)
}

/* Called from client specific probe routines */
int stmpe_probe(struct stmpe_client_info *ci, int partnum)
int __devinit stmpe_probe(struct stmpe_client_info *ci, int partnum)
{
struct stmpe_platform_data *pdata = dev_get_platdata(ci->dev);
struct stmpe *stmpe;
Expand Down

0 comments on commit 8ad1a97

Please sign in to comment.