regulator, mc13xxx: Remove pointless test for unsigned less than zero
[zen-stable.git] / arch / arm / mach-pxa / include / mach / eseries-irq.h
blobde292b269c63ead3a54c29acc920d5cab1786582
1 /*
2 * eseries-irq.h
4 * Copyright (C) Ian Molton <spyro@f2s.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
12 #define ANGELX_IRQ_BASE (IRQ_BOARD_START+8)
13 #define IRQ_ANGELX(n) (ANGELX_IRQ_BASE + (n))
15 #define ANGELX_RDY0_IRQ IRQ_ANGELX(0)
16 #define ANGELX_ST0_IRQ IRQ_ANGELX(1)
17 #define ANGELX_CD0_IRQ IRQ_ANGELX(2)
18 #define ANGELX_RDY1_IRQ IRQ_ANGELX(3)
19 #define ANGELX_ST1_IRQ IRQ_ANGELX(4)
20 #define ANGELX_CD1_IRQ IRQ_ANGELX(5)
22 #define TMIO_IRQ_BASE (IRQ_BOARD_START+0)
23 #define IRQ_TMIO(n) (TMIO_IRQ_BASE + (n))
25 #define TMIO_SD_IRQ IRQ_TMIO(1)
26 #define TMIO_USB_IRQ IRQ_TMIO(2)
28 #define ESERIES_NR_IRQS (IRQ_BOARD_START + 16)