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

    microblaze: Do not select GENERIC_GPIO by default

to the 3.4-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:
     microblaze-do-not-select-generic_gpio-by-default.patch
and it can be found in the queue-3.4 subdirectory.

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


>From 59516b07b4ffa7e607a5787674ea3c405f1b390c Mon Sep 17 00:00:00 2001
From: Lars-Peter Clausen <[email protected]>
Date: Mon, 9 Apr 2012 15:05:44 +0200
Subject: microblaze: Do not select GENERIC_GPIO by default

From: Lars-Peter Clausen <[email protected]>

commit 59516b07b4ffa7e607a5787674ea3c405f1b390c upstream.

The microblaze architecture does not provide a native GPIO API implementation
nor requires GPIOLIB, but still selects GENERIC_GPIO by default. As a result the
following build error occurs, if GPIOLIB is not selected:

        include/asm-generic/gpio.h: In function 'gpio_get_value_cansleep':
        include/asm-generic/gpio.h:218: error: implicit declaration of function 
'__gpio_get_value'
        include/asm-generic/gpio.h: In function 'gpio_set_value_cansleep':
        include/asm-generic/gpio.h:224: error: implicit declaration of function 
'__gpio_set_value'

This patch addresses the issue by not selecting GENERIC_GPIO by default. This
causes the GPIO API to be stubbed out if no implementation is provided.

Signed-off-by: Lars-Peter Clausen <[email protected]>
Tested-by: Michal Simek <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 arch/microblaze/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/microblaze/Kconfig
+++ b/arch/microblaze/Kconfig
@@ -57,7 +57,7 @@ config GENERIC_CLOCKEVENTS
        def_bool y
 
 config GENERIC_GPIO
-       def_bool y
+       bool
 
 config GENERIC_CSUM
        def_bool y


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

queue-3.4/microblaze-do-not-select-generic_gpio-by-default.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to