Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1338928

Re: [PATCH 3/6] power_supply: bq2415x_charger: Do not add acpi modalias when CONFIG_ACPI is not enabled

From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject Re: [PATCH 3/6] power_supply: bq2415x_charger: Do not add acpi modalias when CONFIG_ACPI is not enabled
Date 2016-02-21 19:20 +0100
Message-ID <r4GLU-1wb-25@gated-at.bofh.it> (permalink)
References <r4GiS-12G-3@gated-at.bofh.it> <r4GLU-1wb-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun 2016-02-21 12:28:20, Pali Rohár wrote:
> Signed-off-by: Pali Rohár <pali.rohar@gmail.com>

Acked-by: Pavel Machek <pavel@ucw.cz>


> @@ -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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/6] Small fixes for Nokia N900 power supply drivers Pali Rohár <pali.rohar@gmail.com> - 2016-02-21 19:20 +0100
  Re: [PATCH 3/6] power_supply: bq2415x_charger: Do not add acpi  modalias when CONFIG_ACPI is not enabled Pavel Machek <pavel@ucw.cz> - 2016-02-21 19:20 +0100
  Re: [PATCH 1/6] power_supply: isp1704_charger: Error messages when  probe fail Pavel Machek <pavel@ucw.cz> - 2016-02-21 19:30 +0100
  [PATCH 6/6] ARM: dts: n900: Rename isp1704 to isp1707 to match correct name Pali Rohár <pali.rohar@gmail.com> - 2016-02-21 19:30 +0100
  [PATCH 5/6] power_supply: bq27xxx_battery: Add of modalias and match table when CONFIG_OF is enabled Pali Rohár <pali.rohar@gmail.com> - 2016-02-21 19:40 +0100
  [PATCH 1/6] power_supply: isp1704_charger: Error messages when probe fail Pali Rohár <pali.rohar@gmail.com> - 2016-02-21 19:40 +0100
  [PATCH 3/6] power_supply: bq2415x_charger: Do not add acpi modalias when CONFIG_ACPI is not enabled Pali Rohár <pali.rohar@gmail.com> - 2016-02-21 19:50 +0100
  [PATCH 4/6] power_supply: bq2415x_charger: Add of modalias and match table when CONFIG_OF is enabled Pali Rohár <pali.rohar@gmail.com> - 2016-02-21 19:50 +0100
  Re: [PATCH 0/6] Small fixes for Nokia N900 power supply drivers Sebastian Reichel <sre@kernel.org> - 2016-02-21 20:50 +0100

csiph-web