Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368301
b: refs/heads/master
c: 94d8f2b
h: refs/heads/master
i:
  368299: 5ec0f64
v: v3
  • Loading branch information
Silviu-Mihai Popescu authored and David S. Miller committed Mar 17, 2013
1 parent 82e82c8 commit 1ec393f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: debd0034de1f68585ab5d1d3d693d38f19d48e5d
refs/heads/master: 94d8f2b133c9ff97105adc1233d1a35e16e1e7a6
5 changes: 3 additions & 2 deletions trunk/drivers/net/irda/au1k_ir.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/types.h>
#include <linux/ioport.h>

#include <net/irda/irda.h>
#include <net/irda/irmod.h>
Expand Down Expand Up @@ -882,12 +883,12 @@ static int au1k_irda_probe(struct platform_device *pdev)
goto out;

err = -EBUSY;
aup->ioarea = request_mem_region(r->start, r->end - r->start + 1,
aup->ioarea = request_mem_region(r->start, resource_size(r),
pdev->name);
if (!aup->ioarea)
goto out;

aup->iobase = ioremap_nocache(r->start, r->end - r->start + 1);
aup->iobase = ioremap_nocache(r->start, resource_size(r));
if (!aup->iobase)
goto out2;

Expand Down

0 comments on commit 1ec393f

Please sign in to comment.