diff options
| author | David Woodhouse <David.Woodhouse@intel.com> | 2012-10-09 10:03:21 -0400 |
|---|---|---|
| committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-10-09 10:04:25 -0400 |
| commit | ffe315012510165ce82e4dd4767f0a5dba9edbf7 (patch) | |
| tree | f601cd980af9d0ced5ca9aedecef4fa0d2ca0e15 /drivers/rtc/rtc-s3c.c | |
| parent | e2d3a35ee427aaba99b6c68a56609ce276c51270 (diff) | |
| parent | 4a8e43feeac7996b8de2d5b2823e316917493df4 (diff) | |
Merge tag 'disintegrate-mtd-20121009' of git://git.infradead.org/users/dhowells/linux-headers
UAPI Disintegration 2012-10-09
Conflicts:
MAINTAINERS
arch/arm/configs/bcmring_defconfig
arch/arm/mach-imx/clk-imx51-imx53.c
drivers/mtd/nand/Kconfig
drivers/mtd/nand/bcm_umi_nand.c
drivers/mtd/nand/nand_bcm_umi.h
drivers/mtd/nand/orion_nand.c
Diffstat (limited to 'drivers/rtc/rtc-s3c.c')
| -rw-r--r-- | drivers/rtc/rtc-s3c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c index bfbd92c8d1c9..77823d21d314 100644 --- a/drivers/rtc/rtc-s3c.c +++ b/drivers/rtc/rtc-s3c.c | |||
| @@ -476,13 +476,13 @@ static int __devinit s3c_rtc_probe(struct platform_device *pdev) | |||
| 476 | s3c_rtc_tickno = platform_get_irq(pdev, 1); | 476 | s3c_rtc_tickno = platform_get_irq(pdev, 1); |
| 477 | if (s3c_rtc_tickno < 0) { | 477 | if (s3c_rtc_tickno < 0) { |
| 478 | dev_err(&pdev->dev, "no irq for rtc tick\n"); | 478 | dev_err(&pdev->dev, "no irq for rtc tick\n"); |
| 479 | return -ENOENT; | 479 | return s3c_rtc_tickno; |
| 480 | } | 480 | } |
| 481 | 481 | ||
| 482 | s3c_rtc_alarmno = platform_get_irq(pdev, 0); | 482 | s3c_rtc_alarmno = platform_get_irq(pdev, 0); |
| 483 | if (s3c_rtc_alarmno < 0) { | 483 | if (s3c_rtc_alarmno < 0) { |
| 484 | dev_err(&pdev->dev, "no irq for alarm\n"); | 484 | dev_err(&pdev->dev, "no irq for alarm\n"); |
| 485 | return -ENOENT; | 485 | return s3c_rtc_alarmno; |
| 486 | } | 486 | } |
| 487 | 487 | ||
| 488 | pr_debug("s3c2410_rtc: tick irq %d, alarm irq %d\n", | 488 | pr_debug("s3c2410_rtc: tick irq %d, alarm irq %d\n", |
