On 20/09/2012 10:31, Simon Budig wrote: > On 09/20/2012 10:18 AM, Stefano Babic wrote: >> But they contain the same information, as the irq number can be >> get easy from irq_pin with gpio_to_irq(). Having both, it is >> possible to set them to different values, and this is wrong. > > gpio_to_irq is not available on all platforms. There was a > discussion on that topic quite a while ago. I missed this issue, thanks ! > Moving the irq setup code to the board file was the conclusion from > that discussion. Understood, thanks. Regards, Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@xxxxxxx ===================================================================== -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html