diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-10-14 14:36:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-14 15:41:52 -0400 |
commit | eb4d84f18598211ccfdecc0a7f14a048cb86e657 (patch) | |
tree | 0baff9c1bd5a93a85c014292d940e8db6e9bd719 /drivers/net/ibm_newemac/tah.c | |
parent | c6b44e50b8958d9bfe3003c81e70d9a53852ae52 (diff) |
ibm_newemac annotations (iomem, NULL noise)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/ibm_newemac/tah.c')
-rw-r--r-- | drivers/net/ibm_newemac/tah.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ibm_newemac/tah.c b/drivers/net/ibm_newemac/tah.c index e05c7e81efb6..f161fb100e8e 100644 --- a/drivers/net/ibm_newemac/tah.c +++ b/drivers/net/ibm_newemac/tah.c | |||
@@ -42,7 +42,7 @@ void __devexit tah_detach(struct of_device *ofdev, int channel) | |||
42 | void tah_reset(struct of_device *ofdev) | 42 | void tah_reset(struct of_device *ofdev) |
43 | { | 43 | { |
44 | struct tah_instance *dev = dev_get_drvdata(&ofdev->dev); | 44 | struct tah_instance *dev = dev_get_drvdata(&ofdev->dev); |
45 | struct tah_regs *p = dev->base; | 45 | struct tah_regs __iomem *p = dev->base; |
46 | int n; | 46 | int n; |
47 | 47 | ||
48 | /* Reset TAH */ | 48 | /* Reset TAH */ |
@@ -108,7 +108,7 @@ static int __devinit tah_probe(struct of_device *ofdev, | |||
108 | } | 108 | } |
109 | 109 | ||
110 | rc = -ENOMEM; | 110 | rc = -ENOMEM; |
111 | dev->base = (struct tah_regs *)ioremap(regs.start, | 111 | dev->base = (struct tah_regs __iomem *)ioremap(regs.start, |
112 | sizeof(struct tah_regs)); | 112 | sizeof(struct tah_regs)); |
113 | if (dev->base == NULL) { | 113 | if (dev->base == NULL) { |
114 | printk(KERN_ERR "%s: Can't map device registers!\n", | 114 | printk(KERN_ERR "%s: Can't map device registers!\n", |