diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-05-24 01:13:01 -0700 | 
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-05-24 01:13:01 -0700 | 
| commit | e644dae645e167d154c0526358940986682a72b0 (patch) | |
| tree | 972993c6568085b8d407fc7e13de10f4b93c651d /drivers/rtc/rtc-mpc5121.c | |
| parent | 899c612d74d4a242158a4db20367388d6299c028 (diff) | |
| parent | 86809173ce32ef03bd4d0389dfc72df0c805e9c4 (diff) | |
Merge branch 'next' into for-linus
Diffstat (limited to 'drivers/rtc/rtc-mpc5121.c')
| -rw-r--r-- | drivers/rtc/rtc-mpc5121.c | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-mpc5121.c b/drivers/rtc/rtc-mpc5121.c index 9d3caccfc25..42f5f829b3e 100644 --- a/drivers/rtc/rtc-mpc5121.c +++ b/drivers/rtc/rtc-mpc5121.c @@ -327,7 +327,7 @@ static int __devinit mpc5121_rtc_probe(struct platform_device *op)  	dev_set_drvdata(&op->dev, rtc);  	rtc->irq = irq_of_parse_and_map(op->dev.of_node, 1); -	err = request_irq(rtc->irq, mpc5121_rtc_handler, IRQF_DISABLED, +	err = request_irq(rtc->irq, mpc5121_rtc_handler, 0,  						"mpc5121-rtc", &op->dev);  	if (err) {  		dev_err(&op->dev, "%s: could not request irq: %i\n", @@ -337,7 +337,7 @@ static int __devinit mpc5121_rtc_probe(struct platform_device *op)  	rtc->irq_periodic = irq_of_parse_and_map(op->dev.of_node, 0);  	err = request_irq(rtc->irq_periodic, mpc5121_rtc_handler_upd, -				IRQF_DISABLED, "mpc5121-rtc_upd", &op->dev); +				0, "mpc5121-rtc_upd", &op->dev);  	if (err) {  		dev_err(&op->dev, "%s: could not request irq: %i\n",  						__func__, rtc->irq_periodic); @@ -360,6 +360,8 @@ static int __devinit mpc5121_rtc_probe(struct platform_device *op)  						&mpc5200_rtc_ops, THIS_MODULE);  	} +	rtc->rtc->uie_unsupported = 1; +  	if (IS_ERR(rtc->rtc)) {  		err = PTR_ERR(rtc->rtc);  		goto out_free_irq;  | 
