From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: Jerry Snitselaar <jerry.snitselaar@oracle.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org
Subject: Re: [PATCH] acpi_i2c: set MODULE_LICENSE, MODULE_AUTHOR, and MODULE_DESCRIPTION
Date: Tue, 20 Aug 2013 11:18:52 +0300 [thread overview]
Message-ID: <20130820081852.GV4898@intel.com> (raw)
In-Reply-To: <20130820081442.GU4898@intel.com>
On Tue, Aug 20, 2013 at 11:14:42AM +0300, Mika Westerberg wrote:
> On Tue, Aug 20, 2013 at 01:00:08AM -0700, Jerry Snitselaar wrote:
> > On Tue Aug 20 13, Mika Westerberg wrote:
> > > On Mon, Aug 19, 2013 at 08:34:03PM -0700, Jerry Snitselaar wrote:
> > > > On Tue Aug 20 13, Rafael J. Wysocki wrote:
> > > > > On Monday, August 19, 2013 04:35:29 PM Jerry Snitselaar wrote:
> > > > > > On Tue Aug 20 13, Rafael J. Wysocki wrote:
> > > > > > > On Monday, August 19, 2013 09:16:14 AM Mika Westerberg wrote:
> > > > > > > > On Fri, Aug 16, 2013 at 06:26:35PM -0700, Jerry Snitselaar wrote:
> > > > > > > > > Without MODULE_LICENSE set, I get the following with modprobe:
> > > > > > > > >
> > > > > > > > > acpi_i2c: module license 'unspecified' taints kernel.
> > > > > > > > > acpi_i2c: Unknown symbol i2c_new_device (err 0)
> > > > > > > > > acpi_i2c: Unknown symbol acpi_dev_get_resources (err 0)
> > > > > > > > > acpi_i2c: Unknown symbol acpi_dev_resource_interrupt (err 0)
> > > > > > > > > acpi_i2c: Unknown symbol acpi_dev_free_resource_list (err 0)
> > > > > > > > >
> > > > > > > > > Signed-off-by: Jerry Snitselaar <jerry.snitselaar@oracle.com>
> > > > > > > >
> > > > > > > > Looks good to me.
> > > > > > > >
> > > > > > > > Acked-by: Mika Westerbeg <mika.westerberg@linux.intel.com>
> > > > > > >
> > > > > > > Well, OK, but do we need to be able to build that as a module?
> > > > > > >
> > > > > > > Maybe it should just be yes or no?
> > > > > > >
> > > > > > > Rafael
> > > > > > >
> > > > > >
> > > > > > Perhaps have depends on I2C=y and be a bool instead of tristate?
> > > > >
> > > > > Yes, that's the idea.
> > > > >
> > > > Does this look okay Mika?
> > > >
> > > > [PATCH] acpi_i2c: do not build as loadable module
> > > >
> > > > Change from tristate to bool, and depend on I2C=y
> > >
> > > I'm not sure about this. Does the below mean that we can't build the ACPI
> > > I2C enumeration at all if I2C core is compiled as module?
> >
> > Yes, that was what Rafael was suggesting. If the ability to compile as
> > a module if I2C is a module is needed, then we need the 1st patch.
>
> In that case I would prefer the first patch. Otherwise we lose the ability
> to enumerate I2C devices from ACPI namespace on some distros (at least
> Debian builds I2C core as a module).
>
> Rafael?
Actually there's a patch that moves DT I2C helpers to the I2C core here:
https://lkml.org/lkml/2013/8/19/349
we should probably do the same for the ACPI case. Doing that solves this
problem as well.
next prev parent reply other threads:[~2013-08-20 8:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-17 1:26 [PATCH] acpi_i2c: set MODULE_LICENSE, MODULE_AUTHOR, and MODULE_DESCRIPTION Jerry Snitselaar
2013-08-19 6:16 ` Mika Westerberg
2013-08-19 23:30 ` Rafael J. Wysocki
2013-08-19 23:35 ` Jerry Snitselaar
2013-08-19 23:48 ` Rafael J. Wysocki
2013-08-20 3:34 ` Jerry Snitselaar
2013-08-20 7:28 ` Mika Westerberg
2013-08-20 8:00 ` Jerry Snitselaar
2013-08-20 8:14 ` Mika Westerberg
2013-08-20 8:18 ` Mika Westerberg [this message]
2013-08-20 12:38 ` Rafael J. Wysocki
-- strict thread matches above, loose matches on Subject: below --
2013-08-16 21:40 Jerry Snitselaar
2013-08-17 5:12 ` Jerry Snitselaar
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=20130820081852.GV4898@intel.com \
--to=mika.westerberg@linux.intel.com \
--cc=jerry.snitselaar@oracle.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
/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.