Skip to contentSkip to conversation

Patch "drm/bridge: ptn3460: Include linux/gpio/consumer.h" has been added to the 4.1-stable tree

PATCH [email protected] 1 participant 1 message Jul 30, 2015

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

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

drm/bridge: ptn3460: Include linux/gpio/consumer.h

to the 4.1-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:
drm-bridge-ptn3460-include-linux-gpio-consumer.h.patch
and it can be found in the queue-4.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From dad3c3503462f59c6bec7edfa19dbde1857962c0 Mon Sep 17 00:00:00 2001

From: Geert Uytterhoeven <[email protected]>
Date: Tue, 5 May 2015 18:32:17 +0200
Subject: drm/bridge: ptn3460: Include linux/gpio/consumer.h
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

From: Geert Uytterhoeven <[email protected]>

commit dad3c3503462f59c6bec7edfa19dbde1857962c0 upstream.

If GPIOLIB=n and asm-generic/gpio.h is not used:

drivers/gpu/drm/bridge/ptn3460.c: In function ‘ptn3460_pre_enable’:
drivers/gpu/drm/bridge/ptn3460.c:135: error: implicit declaration of function ‘gpiod_set_value’ drivers/gpu/drm/bridge/ptn3460.c: In function ‘ptn3460_probe’:
drivers/gpu/drm/bridge/ptn3460.c:333: error: implicit declaration of function ‘devm_gpiod_get’ drivers/gpu/drm/bridge/ptn3460.c:333: warning: assignment makes pointer from integer without a cast drivers/gpu/drm/bridge/ptn3460.c:340: error: implicit declaration of function ‘gpiod_direction_output’ drivers/gpu/drm/bridge/ptn3460.c:346: warning: assignment makes pointer from integer without a cast

Add the missing #include <linux/gpio/consumer.h> to fix this.

Fixes af478d8823 ("drm/bridge: ptn3460: use gpiod interface")
Cc David Airlie <[email protected]>
---
 drivers/gpu/drm/bridge/ptn3460.c |    1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/bridge/ptn3460.c +1 -0
@@ -15,6 +15,7 @@
 
 #include <linux/delay.h>
 #include <linux/gpio.h>
+#include <linux/gpio/consumer.h>
 #include <linux/i2c.h>
 #include <linux/module.h>
 #include <linux/of.h>

Patches currently in stable-queue which might be from [email protected] are

queue-4.1/drm-bridge-ptn3460-include-linux-gpio-consumer.h.patch queue-4.1/m68knommu-force-setting-of-config_clock_freq-for-coldfire.patch queue-4.1/m68knommu-make-coldfire-soc-selection-a-choice.patch