From: horms@verge.net.au (Simon Horman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] mfd: enable max8925
Date: Tue, 22 Dec 2009 15:35:48 +1100 [thread overview]
Message-ID: <20091222043547.GA4411@verge.net.au> (raw)
In-Reply-To: <771cded00912210445v67175632i876b7909de8afae3@mail.gmail.com>
On Mon, Dec 21, 2009 at 07:45:27AM -0500, Haojian Zhuang wrote:
> >From 567add422a0d2214e037c3ed1b424b21776dfe34 Mon Sep 17 00:00:00 2001
> From: Haojian Zhuang <haojian.zhuang@marvell.com>
> Date: Thu, 17 Dec 2009 12:30:16 -0500
> Subject: [PATCH] mfd: enable max8925
>
> Max8925 is a Power Management IC from Maxim Semiconductor.
>
> Do basic support on accessing MAX8925.
>
> Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Hi,
It looks like max8925_device_init() needs to be annotated with __devinit
$ make CONFIG_DEBUG_SECTION_MISMATCH=y
WARNING: drivers/mfd/max8925.o(.text+0x28): Section mismatch in reference
from the function max8925_device_init() to the function
.devinit.text:device_gpm_init()
The function max8925_device_init() references
the function __devinit device_gpm_init().
This is often because max8925_device_init lacks a __devinit
annotation or the annotation of device_gpm_init is wrong.
WARNING: drivers/mfd/max8925.o(.text+0x32): Section mismatch in reference
from the function max8925_device_init() to the function
.devinit.text:device_adc_init()
The function max8925_device_init() references
the function __devinit device_adc_init().
This is often because max8925_device_init lacks a __devinit
annotation or the annotation of device_adc_init is wrong.
next prev parent reply other threads:[~2009-12-22 4:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-21 12:45 [PATCH 1/4] mfd: enable max8925 Haojian Zhuang
2009-12-22 4:35 ` Simon Horman [this message]
2009-12-23 9:41 ` Haojian Zhuang
2009-12-23 10:45 ` Simon Horman
2010-01-08 0:01 ` Samuel Ortiz
2010-01-08 10:34 ` Haojian Zhuang
2010-01-08 11:45 ` Samuel Ortiz
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=20091222043547.GA4411@verge.net.au \
--to=horms@verge.net.au \
--cc=linux-arm-kernel@lists.infradead.org \
/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 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.