Commit 3f6e51d3 authored by John Lenz's avatar John Lenz Committed by Russell King

[ARM PATCH] 1935/1: Fix bug in sa1111 driver

Patch from John Lenz

The __sa1111_probe function is declared __init, and it is called from
the sa1111_probe function, which is not declared __init.
Signed-off-by: default avatarJohn Lenz <jelenz@students.wisc.edu>
parent 9013ca59
......@@ -610,7 +610,7 @@ sa1111_init_one_child(struct sa1111 *sachip, struct resource *parent,
* %-EBUSY physical address already marked in-use.
* %0 successful.
*/
static int __init
static int
__sa1111_probe(struct device *me, struct resource *mem, int irq)
{
struct sa1111 *sachip;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment