summaryrefslogtreecommitdiff
path: root/arch/mips/ath79/dev-gpio-buttons.h
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2019-01-11 17:22:39 +0300
committerPaul Burton <paul.burton@mips.com>2019-01-22 22:17:22 +0300
commit85b9686dae30b5ed5c27b85edfe91ac5a8d9d1f3 (patch)
tree52c8492035c11e3d737b62b951564442d66afbc0 /arch/mips/ath79/dev-gpio-buttons.h
parent73d8e6aa7d208a222addd63339e35f7481bb1dc7 (diff)
downloadlinux-85b9686dae30b5ed5c27b85edfe91ac5a8d9d1f3.tar.xz
MIPS: ath79: drop platform device registration code
With the target now being fully OF based, we can drop the legacy platform device registration code. All devices and their drivers are now probed via OF. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: Rob Herring <robh+dt@kernel.org> Cc: Pengutronix Kernel Team <kernel@pengutronix.de> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'arch/mips/ath79/dev-gpio-buttons.h')
-rw-r--r--arch/mips/ath79/dev-gpio-buttons.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/mips/ath79/dev-gpio-buttons.h b/arch/mips/ath79/dev-gpio-buttons.h
deleted file mode 100644
index 481847ac1cba..000000000000
--- a/arch/mips/ath79/dev-gpio-buttons.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Atheros AR71XX/AR724X/AR913X GPIO button support
- *
- * Copyright (C) 2008-2010 Gabor Juhos <juhosg@openwrt.org>
- * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
- *
- * 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.
- */
-
-#ifndef _ATH79_DEV_GPIO_BUTTONS_H
-#define _ATH79_DEV_GPIO_BUTTONS_H
-
-#include <linux/input.h>
-#include <linux/gpio_keys.h>
-
-void ath79_register_gpio_keys_polled(int id,
- unsigned poll_interval,
- unsigned nbuttons,
- struct gpio_keys_button *buttons);
-
-#endif /* _ATH79_DEV_GPIO_BUTTONS_H */