Skip to contentSkip to conversation

+ drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue.patch added to -mm tree

PATCH [email protected] 1 participant 1 message May 9, 2014 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

Subject: + drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue.patch added to -mm tree
To: [email protected]
From: [email protected]
Date: Fri, 09 May 2014 14:21:51 -0700

The patch titled

     Subject: drivers/rtc/rtc-puv3.c: remove "&dev->" for typo issue

has been added to the -mm tree. Its filename is
drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Chen Gang <[email protected]>
Subject: drivers/rtc/rtc-puv3.c: remove "&dev->" for typo issue

It is only a typo issue, the related commit:

"1fbc4c4 drivers/rtc/rtc-puv3.c: use dev_dbg() instead of pr_debug()"

The related error (for unicore32 with allmodconfig):

CC [M] drivers/rtc/rtc-puv3.o
drivers/rtc/rtc-puv3.c: In function 'puv3_rtc_setalarm':
drivers/rtc/rtc-puv3.c:143: error: 'struct device' has no member named 'dev'

---

 drivers/rtc/rtc-puv3.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/rtc-puv3.c renamed from drivers/rtc/rtc-puv3.c~drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue +1 -1
diff -puN drivers/rtc/rtc-puv3.c~drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue drivers/rtc/rtc-puv3.c
@@ -140,7 +140,7 @@ static int puv3_rtc_setalarm(struct devi
 	rtc_tm_to_time(tm, &rtcalarm_count);
 	writel(rtcalarm_count, RTC_RTAR);
 
-	puv3_rtc_setaie(&dev->dev, alrm->enabled);
+	puv3_rtc_setaie(dev, alrm->enabled);
 
 	if (alrm->enabled)
 		enable_irq_wake(puv3_rtc_alarmno);

_

Patches currently in -mm which might be from [email protected] are

drivers-rtc-rtc-puv3c-use-dev_dbg-instead-of-dev_debug-for-typo-issue.patch drivers-rtc-rtc-puv3c-remove-dev-for-typo-issue.patch linux-next.patch