aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2019-01-10 16:46:21 +0100
committerRafał Miłecki <rafal@milecki.pl>2019-01-10 16:47:43 +0100
commit34696ce25e6de4af0883b6afd3ca3afdcfc39ae5 (patch)
treed0573f43f9dc3a283b02c92f876f58ada056dd53 /target/linux/brcm47xx
parentef1efa756e0d0caef41216719dcc72c71b31d8ff (diff)
downloadupstream-34696ce25e6de4af0883b6afd3ca3afdcfc39ae5.tar.gz
upstream-34696ce25e6de4af0883b6afd3ca3afdcfc39ae5.tar.bz2
upstream-34696ce25e6de4af0883b6afd3ca3afdcfc39ae5.zip
kernel: backport bcma patches that improve printing functions
Updated printing functions use dev_* helpers to provide more meaningful messages. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/brcm47xx')
-rw-r--r--target/linux/brcm47xx/patches-4.14/901-Revert-bcma-switch-GPIO-portions-to-use-GPIOLIB_IRQC.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/patches-4.14/901-Revert-bcma-switch-GPIO-portions-to-use-GPIOLIB_IRQC.patch b/target/linux/brcm47xx/patches-4.14/901-Revert-bcma-switch-GPIO-portions-to-use-GPIOLIB_IRQC.patch
index f1cfcd3e12..3ec853951f 100644
--- a/target/linux/brcm47xx/patches-4.14/901-Revert-bcma-switch-GPIO-portions-to-use-GPIOLIB_IRQC.patch
+++ b/target/linux/brcm47xx/patches-4.14/901-Revert-bcma-switch-GPIO-portions-to-use-GPIOLIB_IRQC.patch
@@ -188,7 +188,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
chip->direction_input = bcma_gpio_direction_input;
chip->direction_output = bcma_gpio_direction_output;
- chip->owner = THIS_MODULE;
-- chip->parent = bcma_bus_get_host_dev(bus);
+- chip->parent = bus->dev;
+#if IS_BUILTIN(CONFIG_BCM47XX) || IS_BUILTIN(CONFIG_ARCH_BCM_5301X)
+ chip->to_irq = bcma_gpio_to_irq;
+#endif