From: Dirk Behme <dirk.behme@googlemail.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] ARM: OMAP: Fix section mismatch warnings in omap-rng
Date: Thu, 04 Jan 2007 16:32:13 +0100 [thread overview]
Message-ID: <459D1DFD.6080606@googlemail.com> (raw)
[-- 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 --]
next reply other threads:[~2007-01-04 15:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-04 15:32 Dirk Behme [this message]
2007-01-05 16:49 ` [PATCH] ARM: OMAP: Fix section mismatch warnings in omap-rng Felipe Balbi
2007-01-04 17:04 ` Dirk Behme
2007-01-04 18:01 ` David Brownell
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=459D1DFD.6080606@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