From: Paul Parsons Date: Tue, 31 Jan 2012 01:18:35 +0000 (+0000) Subject: mfd: Add to_irq() member to asic3 gpio_chip structure X-Git-Tag: v3.4-rc1~66^2~73 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=450b1151065ae967583fe69c82c50140560a5681;p=pandora-kernel.git mfd: Add to_irq() member to asic3 gpio_chip structure The gpio_to_irq() macro is now defined as __gpio_to_irq() instead of IRQ_GPIO(). The __gpio_to_irq() function returns -ENXIO if the referenced gpio_chip structure does not define a to_irq() member. This is true of the asic3 gpio_chip structure, and thus calls to gpio_to_irq() now fail (for example from the gpio-vbus module). This patch defines the to_irq() member in the asic3 gpio_chip structure. Signed-off-by: Paul Parsons Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed