public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: Fix section mismatch warnings in omap-rng
@ 2007-01-04 15:32 Dirk Behme
  2007-01-05 16:49 ` Felipe Balbi
  0 siblings, 1 reply; 4+ messages in thread
From: Dirk Behme @ 2007-01-04 15:32 UTC (permalink / raw)
  To: linux-omap-open-source

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


ARM: OMAP: Fix warnings

WARNING: drivers/char/hw_random/omap-rng.o - Section
mismatch: reference to .init.text: from .data between '$d'
(at offset 0x0) and 'omap_rng_ops'
WARNING: drivers/char/hw_random/omap-rng.o - Section
mismatch: reference to .exit.text: from .data between '$d'
(at offset 0x4) and 'omap_rng_ops'

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>

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

Index: linux-osk/drivers/char/hw_random/omap-rng.c
===================================================================
--- linux-osk.orig/drivers/char/hw_random/omap-rng.c
+++ linux-osk/drivers/char/hw_random/omap-rng.c
@@ -83,7 +83,7 @@ static struct hwrng omap_rng_ops = {
 	.data_read	= omap_rng_data_read,
 };
 
-static int __init omap_rng_probe(struct platform_device *pdev)
+static int __devinit omap_rng_probe(struct platform_device *pdev)
 {
 	struct resource *res, *mem;
 	int ret;
@@ -133,7 +133,7 @@ static int __init omap_rng_probe(struct 
 	return 0;
 }
 
-static int __exit omap_rng_remove(struct platform_device *pdev)
+static int __devexit omap_rng_remove(struct platform_device *pdev)
 {
 	struct resource *mem = dev_get_drvdata(&pdev->dev);
 


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



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

end of thread, other threads:[~2007-01-05 16:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-04 15:32 [PATCH] ARM: OMAP: Fix section mismatch warnings in omap-rng Dirk Behme
2007-01-05 16:49 ` Felipe Balbi
2007-01-04 17:04   ` Dirk Behme
2007-01-04 18:01     ` David Brownell

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