From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751912AbcBUSTt (ORCPT ); Sun, 21 Feb 2016 13:19:49 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:37251 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750944AbcBUSTp (ORCPT ); Sun, 21 Feb 2016 13:19:45 -0500 Date: Sun, 21 Feb 2016 14:33:58 +0100 From: Pavel Machek To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: =?iso-8859-1?Q?Beno=EEt?= Cousson , Tony Lindgren , Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Aaro Koskinen , Ivaylo Dimitrov , Nishanth Menon , linux-pm@vger.kernel.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/6] power_supply: bq2415x_charger: Do not add acpi modalias when CONFIG_ACPI is not enabled Message-ID: <20160221133358.GB22958@amd> References: <1456054103-19551-1-git-send-email-pali.rohar@gmail.com> <1456054103-19551-4-git-send-email-pali.rohar@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1456054103-19551-4-git-send-email-pali.rohar@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun 2016-02-21 12:28:20, Pali Rohár wrote: > Signed-off-by: Pali Rohár Acked-by: Pavel Machek > @@ -1759,6 +1759,7 @@ static const struct i2c_device_id bq2415x_i2c_id_table[] = { > }; > MODULE_DEVICE_TABLE(i2c, bq2415x_i2c_id_table); > > +#ifdef CONFIG_ACPI > static const struct acpi_device_id bq2415x_i2c_acpi_match[] = { > { "BQ2415X", BQUNKNOWN }, > { "BQ241500", BQ24150 }, > @@ -1776,6 +1777,7 @@ static const struct acpi_device_id bq2415x_i2c_acpi_match[] = { > {}, > }; > MODULE_DEVICE_TABLE(acpi, bq2415x_i2c_acpi_match); > +#endif > > static struct i2c_driver bq2415x_driver = { > .driver = { -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html