All of lore.kernel.org
 help / color / mirror / Atom feed
* Patch "gpio: mcp23s08: Select REGMAP/REGMAP_I2C to fix build error" has been added to the 4.9-stable tree
@ 2017-11-06  9:11 gregkh
  0 siblings, 0 replies; only message in thread
From: gregkh @ 2017-11-06  9:11 UTC (permalink / raw)
  To: axel.lin, alexander.levin, gregkh, linus.walleij, sre
  Cc: stable, stable-commits


This is a note to let you know that I've just added the patch titled

    gpio: mcp23s08: Select REGMAP/REGMAP_I2C to fix build error

to the 4.9-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     gpio-mcp23s08-select-regmap-regmap_i2c-to-fix-build-error.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


>From foo@baz Mon Nov  6 10:07:35 CET 2017
From: Axel Lin <axel.lin@ingics.com>
Date: Sat, 7 Oct 2017 22:36:53 +0000
Subject: gpio: mcp23s08: Select REGMAP/REGMAP_I2C to fix build error

From: Axel Lin <axel.lin@ingics.com>


[ Upstream commit e8e1a5b5679b1ae1ff03a3883b011b84e7226171 ]

This driver now using devm_regmap_init/devm_regmap_init_i2c, so it needs
to select REGMAP/REGMAP_I2C accordingly.

Fixes: ("3d84fdb3f0b5 gpio: mcp23s08: use regmap")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-By: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 drivers/gpio/Kconfig |    2 ++
 1 file changed, 2 insertions(+)

--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -1187,6 +1187,8 @@ config GPIO_MCP23S08
 	tristate "Microchip MCP23xxx I/O expander"
 	depends on OF_GPIO
 	select GPIOLIB_IRQCHIP
+	select REGMAP_I2C if I2C
+	select REGMAP if SPI_MASTER
 	help
 	  SPI/I2C driver for Microchip MCP23S08/MCP23S17/MCP23008/MCP23017
 	  I/O expanders.


Patches currently in stable-queue which might be from axel.lin@ingics.com are

queue-4.9/gpio-mcp23s08-select-regmap-regmap_i2c-to-fix-build-error.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-06  9:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-06  9:11 Patch "gpio: mcp23s08: Select REGMAP/REGMAP_I2C to fix build error" has been added to the 4.9-stable tree gregkh

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.