summaryrefslogtreecommitdiffstats
path: root/kernel/arch/mips/txx9/generic
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/mips/txx9/generic')
-rw-r--r--kernel/arch/mips/txx9/generic/setup.c16
-rw-r--r--kernel/arch/mips/txx9/generic/spi_eeprom.c1
2 files changed, 0 insertions, 17 deletions
diff --git a/kernel/arch/mips/txx9/generic/setup.c b/kernel/arch/mips/txx9/generic/setup.c
index 2791b8641..9d9962ab7 100644
--- a/kernel/arch/mips/txx9/generic/setup.c
+++ b/kernel/arch/mips/txx9/generic/setup.c
@@ -117,22 +117,6 @@ void clk_put(struct clk *clk)
}
EXPORT_SYMBOL(clk_put);
-/* GPIO support */
-
-#ifdef CONFIG_GPIOLIB
-int gpio_to_irq(unsigned gpio)
-{
- return -EINVAL;
-}
-EXPORT_SYMBOL(gpio_to_irq);
-
-int irq_to_gpio(unsigned irq)
-{
- return -EINVAL;
-}
-EXPORT_SYMBOL(irq_to_gpio);
-#endif
-
#define BOARD_VEC(board) extern struct txx9_board_vec board;
#include <asm/txx9/boards.h>
#undef BOARD_VEC
diff --git a/kernel/arch/mips/txx9/generic/spi_eeprom.c b/kernel/arch/mips/txx9/generic/spi_eeprom.c
index 3dbad99d5..d833dd2c9 100644
--- a/kernel/arch/mips/txx9/generic/spi_eeprom.c
+++ b/kernel/arch/mips/txx9/generic/spi_eeprom.c
@@ -80,7 +80,6 @@ static int __init early_seeprom_probe(struct spi_device *spi)
static struct spi_driver early_seeprom_driver __initdata = {
.driver = {
.name = "at25",
- .owner = THIS_MODULE,
},
.probe = early_seeprom_probe,
};