* [PATCH] ppc annotations: i2c-mpc
@ 2005-04-26 1:10 Al Viro
0 siblings, 0 replies; only message in thread
From: Al Viro @ 2005-04-26 1:10 UTC (permalink / raw)
To: torvalds; +Cc: linuxppc-dev
Usual iomem annotations and NULL noise removal.
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
----
diff -urN RC12-rc3-mpsc/drivers/i2c/busses/i2c-mpc.c RC12-rc3-i2c-mpc/drivers/i2c/busses/i2c-mpc.c
--- RC12-rc3-mpsc/drivers/i2c/busses/i2c-mpc.c Wed Apr 20 21:25:33 2005
+++ RC12-rc3-i2c-mpc/drivers/i2c/busses/i2c-mpc.c Mon Apr 25 19:53:08 2005
@@ -55,7 +55,7 @@
#define CSR_RXAK 0x01
struct mpc_i2c {
- char *base;
+ void __iomem *base;
u32 interrupt;
wait_queue_head_t queue;
struct i2c_adapter adap;
@@ -444,7 +444,7 @@
fail_add:
if (i2c->irq != 0)
- free_irq(i2c->irq, 0);
+ free_irq(i2c->irq, NULL);
fail_irq:
iounmap(i2c->base);
fail_map:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-26 1:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-26 1:10 [PATCH] ppc annotations: i2c-mpc Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox