public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: Convert devdata to drvdata in rtc-omap.c
@ 2007-05-19 14:45 Dirk Behme
  2007-05-22 17:34 ` Dirk Behme
  0 siblings, 1 reply; 2+ messages in thread
From: Dirk Behme @ 2007-05-19 14:45 UTC (permalink / raw)
  To: linux-omap-open-source

[-- Attachment #1: Type: text/plain, Size: 121 bytes --]


Convert devdata to drvdata in rtc-omap.c to make this compile again.

Signed-off-by: Dirk Behme <dirk.behme@gmail.com>


[-- Attachment #2: fix_devdata_rtc_omap.txt --]
[-- Type: text/plain, Size: 739 bytes --]

Index: linux-osk/drivers/rtc/rtc-omap.c
===================================================================
--- linux-osk.orig/drivers/rtc/rtc-omap.c
+++ linux-osk/drivers/rtc/rtc-omap.c
@@ -371,7 +371,7 @@ static int __devinit omap_rtc_probe(stru
 		goto fail;
 	}
 	platform_set_drvdata(pdev, rtc);
-	dev_set_devdata(&rtc->dev, mem);
+	dev_set_drvdata(&rtc->dev, mem);
 
 	/* clear pending irqs, and set 1/second periodic,
 	 * which we'll use instead of update irqs
@@ -453,7 +453,7 @@ static int __devexit omap_rtc_remove(str
 	free_irq(omap_rtc_timer, rtc);
 	free_irq(omap_rtc_alarm, rtc);
 
-	release_resource(dev_get_devdata(&rtc->dev));
+	release_resource(dev_get_drvdata(&rtc->dev));
 	rtc_device_unregister(rtc);
 	return 0;
 }

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: OMAP: Convert devdata to drvdata in rtc-omap.c
  2007-05-19 14:45 [PATCH] ARM: OMAP: Convert devdata to drvdata in rtc-omap.c Dirk Behme
@ 2007-05-22 17:34 ` Dirk Behme
  0 siblings, 0 replies; 2+ messages in thread
From: Dirk Behme @ 2007-05-22 17:34 UTC (permalink / raw)
  To: linux-omap-open-source

Dirk Behme wrote:
> 
> Convert devdata to drvdata in rtc-omap.c to make this compile again.
> 
> Signed-off-by: Dirk Behme <dirk.behme@gmail.com>

Got a short notice from David that this is already fixed in 
2.6.22-rc2. So please ignore this patch.

Thanks for the info!

Dirk

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-22 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-19 14:45 [PATCH] ARM: OMAP: Convert devdata to drvdata in rtc-omap.c Dirk Behme
2007-05-22 17:34 ` Dirk Behme

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox