All of lore.kernel.org
 help / color / mirror / Atom feed
* - change-__init-to-__devinit-in-2-rtc-drivers.patch removed from -mm tree
@ 2007-02-12 22:44 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2007-02-12 22:44 UTC (permalink / raw)
  To: prarit, a.zummo, mm-commits


The patch titled
     change __init to __devinit in 2 rtc drivers
has been removed from the -mm tree.  Its filename was
     change-__init-to-__devinit-in-2-rtc-drivers.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: change __init to __devinit in 2 rtc drivers
From: Prarit Bhargava <prarit@redhat.com>

Change __init to __devinit in rtc drivers' probe functions.

Resolves MODPOST warnings:

WARNING: drivers/rtc/rtc-ds1553.o - Section mismatch: reference to
.init.text:ds1553_rtc_probe from .data.rel between 'ds1553_rtc_driver' (at
offset 0x0) and 'ds1553_nvram_attr'
WARNING: drivers/rtc/rtc-ds1742.o - Section mismatch: reference to
.init.text:ds1742_rtc_probe from .data.rel between 'ds1742_rtc_driver' (at
offset 0x0) and 'ds1742_nvram_attr'

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/rtc/rtc-ds1553.c |    2 +-
 drivers/rtc/rtc-ds1742.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/rtc/rtc-ds1553.c~change-__init-to-__devinit-in-2-rtc-drivers drivers/rtc/rtc-ds1553.c
--- a/drivers/rtc/rtc-ds1553.c~change-__init-to-__devinit-in-2-rtc-drivers
+++ a/drivers/rtc/rtc-ds1553.c
@@ -297,7 +297,7 @@ static struct bin_attribute ds1553_nvram
 	.write = ds1553_nvram_write,
 };
 
-static int __init ds1553_rtc_probe(struct platform_device *pdev)
+static int __devinit ds1553_rtc_probe(struct platform_device *pdev)
 {
 	struct rtc_device *rtc;
 	struct resource *res;
diff -puN drivers/rtc/rtc-ds1742.c~change-__init-to-__devinit-in-2-rtc-drivers drivers/rtc/rtc-ds1742.c
--- a/drivers/rtc/rtc-ds1742.c~change-__init-to-__devinit-in-2-rtc-drivers
+++ a/drivers/rtc/rtc-ds1742.c
@@ -165,7 +165,7 @@ static struct bin_attribute ds1742_nvram
 	.write = ds1742_nvram_write,
 };
 
-static int __init ds1742_rtc_probe(struct platform_device *pdev)
+static int __devinit ds1742_rtc_probe(struct platform_device *pdev)
 {
 	struct rtc_device *rtc;
 	struct resource *res;
_

Patches currently in -mm which might be from prarit@redhat.com are

origin.patch
change-__init-to-__devinit-for-isp116x_probe.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-12 22:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-12 22:44 - change-__init-to-__devinit-in-2-rtc-drivers.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.