diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2011-01-03 05:20:21 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-01-03 05:20:21 -0500 |
commit | f651ef6575d8816143afbad4492584979589bd46 (patch) | |
tree | 48d8cd0acd54822e7732158ed012caff44dc7100 /arch/arm/plat-samsung | |
parent | c6906c3e29a4a28660f70421935c91cf6b8ab1e1 (diff) | |
parent | 04ea1cc8ab0f1e9db9aeaef79476e5c1a2027f6a (diff) |
Merge branch 'next-samsung-irq_data' into for-next
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r-- | arch/arm/plat-samsung/irq-uart.c | 6 | ||||
-rw-r--r-- | arch/arm/plat-samsung/irq-vic-timer.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/plat-samsung/irq-uart.c b/arch/arm/plat-samsung/irq-uart.c index da31d785cbd1..4e770355ccbc 100644 --- a/arch/arm/plat-samsung/irq-uart.c +++ b/arch/arm/plat-samsung/irq-uart.c | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | static inline void __iomem *s3c_irq_uart_base(struct irq_data *data) | 31 | static inline void __iomem *s3c_irq_uart_base(struct irq_data *data) |
32 | { | 32 | { |
33 | struct s3c_uart_irq *uirq = data->chip_data; | 33 | struct s3c_uart_irq *uirq = irq_data_get_irq_chip_data(data); |
34 | return uirq->regs; | 34 | return uirq->regs; |
35 | } | 35 | } |
36 | 36 | ||
@@ -83,7 +83,7 @@ static void s3c_irq_uart_ack(struct irq_data *data) | |||
83 | 83 | ||
84 | static void s3c_irq_demux_uart(unsigned int irq, struct irq_desc *desc) | 84 | static void s3c_irq_demux_uart(unsigned int irq, struct irq_desc *desc) |
85 | { | 85 | { |
86 | struct s3c_uart_irq *uirq = desc->handler_data; | 86 | struct s3c_uart_irq *uirq = desc->irq_data.handler_data; |
87 | u32 pend = __raw_readl(uirq->regs + S3C64XX_UINTP); | 87 | u32 pend = __raw_readl(uirq->regs + S3C64XX_UINTP); |
88 | int base = uirq->base_irq; | 88 | int base = uirq->base_irq; |
89 | 89 | ||
@@ -124,7 +124,7 @@ static void __init s3c_init_uart_irq(struct s3c_uart_irq *uirq) | |||
124 | set_irq_flags(irq, IRQF_VALID); | 124 | set_irq_flags(irq, IRQF_VALID); |
125 | } | 125 | } |
126 | 126 | ||
127 | desc->handler_data = uirq; | 127 | desc->irq_data.handler_data = uirq; |
128 | set_irq_chained_handler(uirq->parent_irq, s3c_irq_demux_uart); | 128 | set_irq_chained_handler(uirq->parent_irq, s3c_irq_demux_uart); |
129 | } | 129 | } |
130 | 130 | ||
diff --git a/arch/arm/plat-samsung/irq-vic-timer.c b/arch/arm/plat-samsung/irq-vic-timer.c index 7ce77ddb729d..dd8692ae5c4c 100644 --- a/arch/arm/plat-samsung/irq-vic-timer.c +++ b/arch/arm/plat-samsung/irq-vic-timer.c | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | static void s3c_irq_demux_vic_timer(unsigned int irq, struct irq_desc *desc) | 25 | static void s3c_irq_demux_vic_timer(unsigned int irq, struct irq_desc *desc) |
26 | { | 26 | { |
27 | generic_handle_irq((int)desc->handler_data); | 27 | generic_handle_irq((int)desc->irq_data.handler_data); |
28 | } | 28 | } |
29 | 29 | ||
30 | /* We assume the IRQ_TIMER0..IRQ_TIMER4 range is continuous. */ | 30 | /* We assume the IRQ_TIMER0..IRQ_TIMER4 range is continuous. */ |
@@ -86,5 +86,5 @@ void __init s3c_init_vic_timer_irq(unsigned int parent_irq, | |||
86 | set_irq_handler(timer_irq, handle_level_irq); | 86 | set_irq_handler(timer_irq, handle_level_irq); |
87 | set_irq_flags(timer_irq, IRQF_VALID); | 87 | set_irq_flags(timer_irq, IRQF_VALID); |
88 | 88 | ||
89 | desc->handler_data = (void *)timer_irq; | 89 | desc->irq_data.handler_data = (void *)timer_irq; |
90 | } | 90 | } |