summaryrefslogtreecommitdiffstats
path: root/include/linux/irqchip
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2013-03-10 15:54:46 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2013-04-08 21:42:27 +0200
commitf1dc6c4f77678979868fe220c6913890e13473d8 (patch)
tree7c1e1c28537fe7dde8ed6708f8105dbe01fccaa4 /include/linux/irqchip
parent119fd635e383c1a58990e5805acc29f48ed3e360 (diff)
downloadtalos-op-linux-f1dc6c4f77678979868fe220c6913890e13473d8.tar.gz
talos-op-linux-f1dc6c4f77678979868fe220c6913890e13473d8.zip
irqchip: sunxi: Make use of the IRQCHIP_DECLARE macro
This allows to remove some boilerplate code. At the same time, call the set_handle_irq function in the initialization function of the irqchip, so that we can remove it from the machine declaration. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'include/linux/irqchip')
-rw-r--r--include/linux/irqchip/sunxi.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/include/linux/irqchip/sunxi.h b/include/linux/irqchip/sunxi.h
deleted file mode 100644
index 1fe2c2260e2b..000000000000
--- a/include/linux/irqchip/sunxi.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright 2012 Maxime Ripard
- *
- * Maxime Ripard <maxime.ripard@free-electrons.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
-
-#ifndef __LINUX_IRQCHIP_SUNXI_H
-#define __LINUX_IRQCHIP_SUNXI_H
-
-#include <asm/exception.h>
-
-extern void sunxi_init_irq(void);
-
-extern asmlinkage void __exception_irq_entry sunxi_handle_irq(
- struct pt_regs *regs);
-
-#endif
OpenPOWER on IntegriCloud