Linux MIPS Architecture development
 help / color / mirror / Atom feed
  • * [PATCH v2 0/5] gpio: clean up irq_to_gpio and ARCH_NR_GPIOS
           [not found] <20160202194831.10827.63244.stgit@bhelgaas-glaptop2.roam.corp.google.com>
           [not found] ` <1455551208-2825510-1-git-send-email-arnd@arndb.de>
    @ 2016-02-16 15:37 ` Arnd Bergmann
      1 sibling, 0 replies; 10+ messages in thread
    From: Arnd Bergmann @ 2016-02-16 15:37 UTC (permalink / raw)
      To: Linus Walleij
      Cc: linux-arm-kernel, Arnd Bergmann, Russell King, Bjorn Helgaas,
    	Alexandre Courbot, linux-gpio, linux-kernel, Lars-Peter Clausen,
    	Ralf Baechle, linux-mips
    
    I noticed that arch/arm/include/asm/gpio.h can almost be removed,
    after we have already removed the file for most other architectures
    now.
    
    When I removed it, I ran into problems with irq_to_gpio(), which
    we had already killed off in ARM, but it survived (barely) in the
    global headers and accidentally gained an invalid user
    
    This kills it off some more.
    
    The first patch should go as a bugfix into the MIPS tree, the
    other ones should only get merged later, but I think that's fine
    if they get submitted for 4.6. I left them as a series of five
    patches to clarify the build-time dependency. Merging patch
    2 before 1 turns the MIPS runtime error into a compiletime
    error.
    
    changes in v2:
    
    * the MIPS change should now correctly fix the bug, thanks
      to Lars-Peter.
    
    * I left out the ARM specific change for now, and just adapted
      the generic file so we don't need that any more.
    
    *  Fixed the bug that Russell pointed out
    
    	Arnd
    
    ^ permalink raw reply	[flat|nested] 10+ messages in thread

  • end of thread, other threads:[~2016-02-16 15:53 UTC | newest]
    
    Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <20160202194831.10827.63244.stgit@bhelgaas-glaptop2.roam.corp.google.com>
         [not found] ` <1455551208-2825510-1-git-send-email-arnd@arndb.de>
    2016-02-15 15:46   ` [PATCH 1/4] gpio: remove broken irq_to_gpio() interface Arnd Bergmann
    2016-02-15 16:01     ` Lars-Peter Clausen
    2016-02-15 20:16       ` Arnd Bergmann
    2016-02-16 15:42     ` Linus Walleij
    2016-02-16 15:42       ` Linus Walleij
    2016-02-16 15:45       ` Arnd Bergmann
    2016-02-16 15:45         ` Arnd Bergmann
    2016-02-16 15:53         ` Linus Walleij
    2016-02-16 15:53           ` Linus Walleij
    2016-02-16 15:37 ` [PATCH v2 0/5] gpio: clean up irq_to_gpio and ARCH_NR_GPIOS Arnd Bergmann
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox