diff options
Diffstat (limited to 'kernel/arch/mips/txx9')
-rw-r--r-- | kernel/arch/mips/txx9/Kconfig | 2 | ||||
-rw-r--r-- | kernel/arch/mips/txx9/generic/setup.c | 16 | ||||
-rw-r--r-- | kernel/arch/mips/txx9/generic/spi_eeprom.c | 1 |
3 files changed, 1 insertions, 18 deletions
diff --git a/kernel/arch/mips/txx9/Kconfig b/kernel/arch/mips/txx9/Kconfig index 6d40bc783..8c337d60f 100644 --- a/kernel/arch/mips/txx9/Kconfig +++ b/kernel/arch/mips/txx9/Kconfig @@ -8,7 +8,7 @@ config MACH_TX49XX select MACH_TXX9 select CEVT_R4K select CSRC_R4K - select IRQ_CPU + select IRQ_MIPS_CPU select SYS_HAS_CPU_TX49XX select SYS_SUPPORTS_64BIT_KERNEL 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, }; |