]> git.baikalelectronics.ru Git - kernel.git/commit
gpio/omap: Fix IRQ handling for SPARSE_IRQ
authorBenoit Cousson <b-cousson@ti.com>
Thu, 23 Feb 2012 20:50:10 +0000 (21:50 +0100)
committerBenoit Cousson <b-cousson@ti.com>
Mon, 5 Mar 2012 22:02:53 +0000 (23:02 +0100)
commit449424e1edbf6d2ca75cae7fcd445282991baa38
tree7445b68d6f50f65cb1f316dcf135494e3737910a
parentc407133564dbed11458711137ef365274a09967c
gpio/omap: Fix IRQ handling for SPARSE_IRQ

The driver is still relying on internal OMAP IRQ defines that
are not relevant anymore if OMAP is built with SPARSE_IRQ.

Replace the defines with the proper IRQ base number.
Clean some comment style issue.
Remove some hidden and ugly cpu_class_is_omap1() inside the
gpio header.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Tested-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
arch/arm/plat-omap/include/plat/gpio.h
drivers/gpio/gpio-omap.c