Date: | 2012-09-02 11:52:28 (11 years 6 months ago) |
---|---|
Author: | Thierry Reding |
Commit: | 0f1f312c8c0fc34cb046b29f32de318d5aabfb3f |
Message: | MIPS: JZ4740: Break circular header dependency When including irq.h, arch/mips/jz4740/irq.h will be selected as the first candidate. This header does not include the proper definitions (most notably NR_IRQS) required by subsequent headers. To solve this arch/mips/jz4740/irq.h can be deleted and its contents can be moved into arch/mips/include/asm/mach-jz4740/irq.h, which will then be correctly included. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> |
Files: |
arch/mips/include/asm/mach-jz4740/irq.h (1 diff) arch/mips/jz4740/irq.h (1 diff) |
Change Details
arch/mips/include/asm/mach-jz4740/irq.h | ||
---|---|---|
54 | 54 | |
55 | 55 | #define NR_IRQS (JZ4740_IRQ_ADC_BASE + 6) |
56 | 56 | |
57 | struct irq_data; | |
58 | ||
59 | extern void jz4740_irq_suspend(struct irq_data *data); | |
60 | extern void jz4740_irq_resume(struct irq_data *data); | |
61 | ||
57 | 62 | #endif |
arch/mips/jz4740/irq.h | ||
---|---|---|
1 | /* | |
2 | * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify it | |
5 | * under the terms of the GNU General Public License as published by the | |
6 | * Free Software Foundation; either version 2 of the License, or (at your | |
7 | * option) any later version. | |
8 | * | |
9 | * You should have received a copy of the GNU General Public License along | |
10 | * with this program; if not, write to the Free Software Foundation, Inc., | |
11 | * 675 Mass Ave, Cambridge, MA 02139, USA. | |
12 | * | |
13 | */ | |
14 | ||
15 | #ifndef __MIPS_JZ4740_IRQ_H__ | |
16 | #define __MIPS_JZ4740_IRQ_H__ | |
17 | ||
18 | #include <linux/irq.h> | |
19 | ||
20 | extern void jz4740_irq_suspend(struct irq_data *data); | |
21 | extern void jz4740_irq_resume(struct irq_data *data); | |
22 | ||
23 | #endif |
Branches:
ben-wpan
ben-wpan-stefan
5396a9238205f20f811ea57898980d3ca82df0b6
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9