lkml.org 
[lkml]   [2014]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2/3] pinctrl-adi2: change irq_base from usigned int to int
    Date
    From: Sonic Zhang <sonic.zhang@analog.com>

    Negative irq_base means this gpio port doens't support interrupts.

    Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
    ---
    drivers/pinctrl/pinctrl-adi2.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/pinctrl/pinctrl-adi2.c b/drivers/pinctrl/pinctrl-adi2.c
    index e8120fa..9fb53c9 100644
    --- a/drivers/pinctrl/pinctrl-adi2.c
    +++ b/drivers/pinctrl/pinctrl-adi2.c
    @@ -173,7 +173,7 @@ struct adi_pinctrl {
    struct gpio_port {
    struct list_head node;
    void __iomem *base;
    - unsigned int irq_base;
    + int irq_base;
    unsigned int width;
    struct gpio_port_t *regs;
    struct gpio_port_saved saved_data;
    --
    1.8.2.3



    \
     
     \ /
      Last update: 2014-01-27 12:01    [W:2.179 / U:0.248 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site