~ubuntu-branches/ubuntu/quantal/linux-lowlatency/quantal-proposed

« back to all changes in this revision

Viewing changes to drivers/rtc/rtc-ds1553.c

  • Committer: Package Import Robot
  • Author(s): Andy Whitcroft, Andy Whitcroft
  • Date: 2012-06-21 09:16:38 UTC
  • Revision ID: package-import@ubuntu.com-20120621091638-gubhv4nox8xez1ct
Tags: 3.5.0-1.1
[ Andy Whitcroft]

* Rebuild lowlatency against Ubuntu-3.5.0-1.1
* All new configuration system to allow configuration deltas to be
  exposed via debian.lowlatency/config-delta

Show diffs side-by-side

added added

removed removed

Lines of Context:
320
320
                writeb(0, ioaddr + RTC_INTERRUPTS);
321
321
                if (devm_request_irq(&pdev->dev, pdata->irq,
322
322
                                ds1553_rtc_interrupt,
323
 
                                IRQF_DISABLED, pdev->name, pdev) < 0) {
 
323
                                0, pdev->name, pdev) < 0) {
324
324
                        dev_warn(&pdev->dev, "interrupt not available.\n");
325
325
                        pdata->irq = 0;
326
326
                }
361
361
        },
362
362
};
363
363
 
364
 
static __init int ds1553_init(void)
365
 
{
366
 
        return platform_driver_register(&ds1553_rtc_driver);
367
 
}
368
 
 
369
 
static __exit void ds1553_exit(void)
370
 
{
371
 
        platform_driver_unregister(&ds1553_rtc_driver);
372
 
}
373
 
 
374
 
module_init(ds1553_init);
375
 
module_exit(ds1553_exit);
 
364
module_platform_driver(ds1553_rtc_driver);
376
365
 
377
366
MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>");
378
367
MODULE_DESCRIPTION("Dallas DS1553 RTC driver");