Changeset 42028


Ignore:
Timestamp:
2014-08-07T11:54:07+02:00 (3 years ago)
Author:
blogic
Message:

octeon: add missing gpio_to_irq()

Signed-off-by: John Crispin <blogic@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/octeon/patches-3.10/130-gpio.patch

    r41845 r42028  
    11Index: linux-3.10.49/drivers/gpio/Kconfig 
    22=================================================================== 
    3 --- linux-3.10.49.orig/drivers/gpio/Kconfig     2014-07-17 23:58:15.000000000 +0100 
    4 +++ linux-3.10.49/drivers/gpio/Kconfig  2014-07-27 05:55:40.312389198 +0100 
     3--- linux-3.10.49.orig/drivers/gpio/Kconfig     2014-07-18 00:58:15.000000000 +0200 
     4+++ linux-3.10.49/drivers/gpio/Kconfig  2014-08-07 11:41:16.517169817 +0200 
    55@@ -171,6 +171,14 @@ 
    66          Qualcomm MSM chips.  Most of the pins on the MSM can be 
     
    2020Index: linux-3.10.49/drivers/gpio/Makefile 
    2121=================================================================== 
    22 --- linux-3.10.49.orig/drivers/gpio/Makefile    2014-07-17 23:58:15.000000000 +0100 
    23 +++ linux-3.10.49/drivers/gpio/Makefile 2014-07-27 05:55:40.312389198 +0100 
     22--- linux-3.10.49.orig/drivers/gpio/Makefile    2014-07-18 00:58:15.000000000 +0200 
     23+++ linux-3.10.49/drivers/gpio/Makefile 2014-08-07 11:41:16.517169817 +0200 
    2424@@ -10,6 +10,7 @@ 
    2525 # Device drivers. Generally keep list sorted alphabetically 
     
    3333=================================================================== 
    3434--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    35 +++ linux-3.10.49/drivers/gpio/gpio-octeon.c    2014-07-27 05:55:40.312389198 +0100 
    36 @@ -0,0 +1,159 @@ 
     35+++ linux-3.10.49/drivers/gpio/gpio-octeon.c    2014-08-07 11:53:14.733161106 +0200 
     36@@ -0,0 +1,166 @@ 
    3737+/* 
    3838+ * This file is subject to the terms and conditions of the GNU General Public 
     
    5858+#define TX_SET 0x88 
    5959+#define TX_CLEAR 0x90 
     60+ 
     61+int gpio_to_irq(unsigned gpio) 
     62+{ 
     63+       return -EINVAL; 
     64+} 
     65+EXPORT_SYMBOL(gpio_to_irq); 
     66+ 
    6067+/* 
    6168+ * The address offset of the GPIO configuration register for a given 
     
    196203Index: linux-3.10.49/arch/mips/Kconfig 
    197204=================================================================== 
    198 --- linux-3.10.49.orig/arch/mips/Kconfig        2014-07-27 05:55:38.620389229 +0100 
    199 +++ linux-3.10.49/arch/mips/Kconfig     2014-07-27 07:20:50.136294063 +0100 
     205--- linux-3.10.49.orig/arch/mips/Kconfig        2014-08-07 11:41:14.809169838 +0200 
     206+++ linux-3.10.49/arch/mips/Kconfig     2014-08-07 11:41:16.521169817 +0200 
    200207@@ -769,6 +769,7 @@ 
    201208        select USB_ARCH_HAS_OHCI 
Note: See TracChangeset for help on using the changeset viewer.