diff options
Diffstat (limited to 'drivers/net/can/sja1000')
-rw-r--r-- | drivers/net/can/sja1000/sja1000_of_platform.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/net/can/sja1000/sja1000_of_platform.c b/drivers/net/can/sja1000/sja1000_of_platform.c index aa953fb4b8d0..3373560405ba 100644 --- a/drivers/net/can/sja1000/sja1000_of_platform.c +++ b/drivers/net/can/sja1000/sja1000_of_platform.c | |||
@@ -108,15 +108,17 @@ static int __devinit sja1000_ofp_probe(struct of_device *ofdev, | |||
108 | res_size = resource_size(&res); | 108 | res_size = resource_size(&res); |
109 | 109 | ||
110 | if (!request_mem_region(res.start, res_size, DRV_NAME)) { | 110 | if (!request_mem_region(res.start, res_size, DRV_NAME)) { |
111 | dev_err(&ofdev->dev, "couldn't request %#x..%#x\n", | 111 | dev_err(&ofdev->dev, "couldn't request %#llx..%#llx\n", |
112 | res.start, res.end); | 112 | (unsigned long long)res.start, |
113 | (unsigned long long)res.end); | ||
113 | return -EBUSY; | 114 | return -EBUSY; |
114 | } | 115 | } |
115 | 116 | ||
116 | base = ioremap_nocache(res.start, res_size); | 117 | base = ioremap_nocache(res.start, res_size); |
117 | if (!base) { | 118 | if (!base) { |
118 | dev_err(&ofdev->dev, "couldn't ioremap %#x..%#x\n", | 119 | dev_err(&ofdev->dev, "couldn't ioremap %#llx..%#llx\n", |
119 | res.start, res.end); | 120 | (unsigned long long)res.start, |
121 | (unsigned long long)res.end); | ||
120 | err = -ENOMEM; | 122 | err = -ENOMEM; |
121 | goto exit_release_mem; | 123 | goto exit_release_mem; |
122 | } | 124 | } |