From: Dirk Behme <dirk.behme@googlemail.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] ARM: OMAP: Convert devdata to drvdata in rtc-omap.c
Date: Sat, 19 May 2007 16:45:15 +0200 [thread overview]
Message-ID: <464F0D7B.5040600@googlemail.com> (raw)
[-- 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 --]
next reply other threads:[~2007-05-19 14:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-19 14:45 Dirk Behme [this message]
2007-05-22 17:34 ` [PATCH] ARM: OMAP: Convert devdata to drvdata in rtc-omap.c Dirk Behme
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=464F0D7B.5040600@googlemail.com \
--to=dirk.behme@googlemail.com \
--cc=linux-omap-open-source@linux.omap.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox