summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/devices-db8500.h
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-08-22 12:10:48 +0100
committerLinus Walleij <linus.walleij@linaro.org>2013-09-26 11:07:50 +0200
commit28633c54bda633b18544c602fc94961a3999a361 (patch)
treede315b459b3eb11e13d397e4e68b03f538c0a2db /arch/arm/mach-ux500/devices-db8500.h
parent8b0dd112197a132b55b9ed3cc023b0c494f3f5dc (diff)
ARM: ux500: Rip out keypad initialisation which is no longer used
This is part of the ux500 conversion over to Device Tree only booting, but this stuff haven't been used for years. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/devices-db8500.h')
-rw-r--r--arch/arm/mach-ux500/devices-db8500.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/arm/mach-ux500/devices-db8500.h b/arch/arm/mach-ux500/devices-db8500.h
index e47039b9748f..be1d538e8109 100644
--- a/arch/arm/mach-ux500/devices-db8500.h
+++ b/arch/arm/mach-ux500/devices-db8500.h
@@ -13,7 +13,6 @@
#include "db8500-regs.h"
#include "devices-common.h"
-struct ske_keypad_platform_data;
struct pl022_ssp_controller;
struct platform_device;
@@ -21,20 +20,6 @@ extern struct ab8500_platform_data ab8500_platdata;
extern struct prcmu_pdata db8500_prcmu_pdata;
extern struct platform_device db8500_prcmu_device;
-static inline struct platform_device *
-db8500_add_ske_keypad(struct device *parent,
- struct ske_keypad_platform_data *pdata,
- size_t size)
-{
- struct resource resources[] = {
- DEFINE_RES_MEM(U8500_SKE_BASE, SZ_4K),
- DEFINE_RES_IRQ(IRQ_DB8500_KB),
- };
-
- return platform_device_register_resndata(parent, "nmk-ske-keypad", -1,
- resources, 2, pdata, size);
-}
-
static inline struct amba_device *
db8500_add_ssp(struct device *parent, const char *name, resource_size_t base,
int irq, struct pl022_ssp_controller *pdata)