~ubuntu-branches/ubuntu/trusty/linux-linaro-omap/trusty

« back to all changes in this revision

Viewing changes to drivers/watchdog/bcm63xx_wdt.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-57i0gl3v99b3lkfg
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
248
248
                return -ENODEV;
249
249
        }
250
250
 
251
 
        bcm63xx_wdt_device.regs = ioremap_nocache(r->start, r->end - r->start);
 
251
        bcm63xx_wdt_device.regs = ioremap_nocache(r->start, resource_size(r));
252
252
        if (!bcm63xx_wdt_device.regs) {
253
253
                dev_err(&pdev->dev, "failed to remap I/O resources\n");
254
254
                return -ENXIO;