![Ben Dooks](/assets/img/avatar_default.png)
Move the handling for the UART interrupts out of the s3c64xx specific code and into plat-samsung so that it can be used by all implementations that need it. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
21 lines
570 B
C
21 lines
570 B
C
/* arch/arm/plat-samsung/include/plat/irq-uart.h
|
|
*
|
|
* Copyright (c) 2010 Simtec Electronics
|
|
* Ben Dooks <ben@simtec.co.uk>
|
|
*
|
|
* Header file for Samsung SoC UART IRQ demux for S3C64XX and later
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
struct s3c_uart_irq {
|
|
void __iomem *regs;
|
|
unsigned int base_irq;
|
|
unsigned int parent_irq;
|
|
};
|
|
|
|
extern void s3c_init_uart_irqs(struct s3c_uart_irq *irq, unsigned int nr_irqs);
|
|
|