From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: Corey Richardson <corey@octayn.net>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>,
Heikki Krogerus <heikki.krogerus@linux.intel.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
Mike Turquette <mturquette@linaro.org>,
linux-kernel@vger.kernel.org
Subject: Re: clk: x86: build failure
Date: Sun, 24 Mar 2013 08:44:58 +0200 [thread overview]
Message-ID: <20130324064458.GF21804@intel.com> (raw)
In-Reply-To: <CA++BO6Qz90ZY4udNYYPJLMhUi1Q3kwrW16G6j_-tf_bfPfqU5A@mail.gmail.com>
On Sat, Mar 23, 2013 at 01:57:01PM -0400, Corey Richardson wrote:
> With the attached config, I get the following build failure:
>
> LD init/built-in.o
> drivers/built-in.o:clk-lpt.c:function v4l2_device_unregister: error:
> undefined reference to 'i2c_unregister_device'
I get following with your config:
LD init/built-in.o
drivers/built-in.o: In function `v4l2_device_unregister':
(.text+0x1186cb): undefined reference to `i2c_unregister_device'
make: *** [vmlinux] Error 1
and it looks like it wants to build in videodev.o (which provides
v4l2_device_unregister()):
CONFIG_VIDEO_DEV=y
This function calls i2c_unregister_device() if IS_ENABLED(CONFIG_I2C) but
i2c support is compiled as a module:
CONFIG_I2C=m
which explains the link error.
However, this has nothing to do with clk-lpt.c or anything related to clock
framework as far as I can tell.
prev parent reply other threads:[~2013-03-24 6:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-23 17:57 clk: x86: build failure Corey Richardson
2013-03-24 6:44 ` Mika Westerberg [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=20130324064458.GF21804@intel.com \
--to=mika.westerberg@linux.intel.com \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=corey@octayn.net \
--cc=heikki.krogerus@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@linaro.org \
--cc=rafael.j.wysocki@intel.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