From: linus.walleij@linaro.org (Linus Walleij)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] mach-ux500: fix build error due to unknown 'regulator_en' field
Date: Thu, 30 Jun 2011 08:30:25 +0200 [thread overview]
Message-ID: <BANLkTinkonRXwLC8QanmwYXjmWq=Gtp=hw@mail.gmail.com> (raw)
In-Reply-To: <1309354437.10872.1.camel@phoenix>
Thanks Axel,
On Wed, Jun 29, 2011 at 3:33 PM, Axel Lin <axel.lin@gmail.com> wrote:
> Fix below build error:
>
> CC arch/arm/mach-ux500/board-mop500-u8500uib.o
> arch/arm/mach-ux500/board-mop500-u8500uib.c:35: error: unknown field 'regulator_en' specified in initializer
> arch/arm/mach-ux500/board-mop500-u8500uib.c:35: warning: excess elements in struct initializer
> arch/arm/mach-ux500/board-mop500-u8500uib.c:35: warning: (near initialization for 'rmi4_i2c_dev_platformdata')
> make[1]: *** [arch/arm/mach-ux500/board-mop500-u8500uib.o] Error 1
> make: *** [arch/arm/mach-ux500] Error 2
But uh-oh, that expose our disobedience to the rule that we shall not have
cross-dependencies from stable machines to stuff in staging.
It's tricky this time, since that I2C device is added after first probing
the I2C bus for board type, but I think I have a solution, hold on for
another patch.
Linus Walleij
prev parent reply other threads:[~2011-06-30 6:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-29 13:33 [PATCH] mach-ux500: fix build error due to unknown 'regulator_en' field Axel Lin
2011-06-30 6:30 ` Linus Walleij [this message]
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='BANLkTinkonRXwLC8QanmwYXjmWq=Gtp=hw@mail.gmail.com' \
--to=linus.walleij@linaro.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).