Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177072
b: refs/heads/master
c: 266429d
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Torokhov committed Dec 12, 2009
1 parent 3de9e2d commit 7cae41f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a0ee2037e10d7dce47caabbac19766d00632cccd
refs/heads/master: 266429df3745aecd230831a4c2983247d3d38ecd
8 changes: 4 additions & 4 deletions trunk/drivers/input/serio/ambakmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static void amba_kmi_close(struct serio *io)
clk_disable(kmi->clk);
}

static int amba_kmi_probe(struct amba_device *dev, struct amba_id *id)
static int __devinit amba_kmi_probe(struct amba_device *dev, struct amba_id *id)
{
struct amba_kmi_port *kmi;
struct serio *io;
Expand All @@ -134,7 +134,7 @@ static int amba_kmi_probe(struct amba_device *dev, struct amba_id *id)
io->port_data = kmi;
io->dev.parent = &dev->dev;

kmi->io = io;
kmi->io = io;
kmi->base = ioremap(dev->res.start, resource_size(&dev->res));
if (!kmi->base) {
ret = -ENOMEM;
Expand Down Expand Up @@ -162,7 +162,7 @@ static int amba_kmi_probe(struct amba_device *dev, struct amba_id *id)
return ret;
}

static int amba_kmi_remove(struct amba_device *dev)
static int __devexit amba_kmi_remove(struct amba_device *dev)
{
struct amba_kmi_port *kmi = amba_get_drvdata(dev);

Expand Down Expand Up @@ -201,7 +201,7 @@ static struct amba_driver ambakmi_driver = {
},
.id_table = amba_kmi_idtable,
.probe = amba_kmi_probe,
.remove = amba_kmi_remove,
.remove = __devexit_p(amba_kmi_remove),
.resume = amba_kmi_resume,
};

Expand Down

0 comments on commit 7cae41f

Please sign in to comment.