mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
MIPS: loongson: lemote-2f: irq: Make internal data static
Make internal static to eliminate the following sparse warnings: warning: symbol 'ip6_irqaction' was not declared. Should it be static? warning: symbol 'cascade_irqaction' was not declared. Should it be static? Signed-off-by: Aaro Koskinen <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/8527/ Signed-off-by: Ralf Baechle <[email protected]>
This commit is contained in:
1 parent
15dd8eb0ee
commit
55fa9889ca
1 file changed
+2
-2
@@ -93,13 +93,13 @@ static irqreturn_t ip6_action(int cpl, void *dev_id)
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
struct irqaction ip6_irqaction = {
|
||||
static struct irqaction ip6_irqaction = {
|
||||
.handler = ip6_action,
|
||||
.name = "cascade",
|
||||
.flags = IRQF_SHARED | IRQF_NO_THREAD,
|
||||
};
|
||||
|
||||
struct irqaction cascade_irqaction = {
|
||||
static struct irqaction cascade_irqaction = {
|
||||
.handler = no_action,
|
||||
.name = "cascade",
|
||||
.flags = IRQF_NO_THREAD,
|
||||
|
||||
Reference in new issue
Block a user