summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mach-bcm63xx
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-04-06 15:18:57 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-08 16:42:10 +0400
commitab300d18175aaae8e4c6f90c0b0577384721dea7 (patch)
tree72f298b7b1c92c71c8198aa6b0b93db09062d08c /arch/mips/include/asm/mach-bcm63xx
parent8b0bebe2c821f0bb872da94cc815096dad89850c (diff)
downloadlinux-ab300d18175aaae8e4c6f90c0b0577384721dea7.tar.xz
spi/bcm63xx: remove unused speed_hz variable
speed_hz is a write only member, so we can safely remove it and its generation. Also fixes the missing clk_put after getting the periph clock. Signed-off-by: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/mips/include/asm/mach-bcm63xx')
-rw-r--r--arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_spi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_spi.h b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_spi.h
index c9bae1362606..b0184cf02575 100644
--- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_spi.h
+++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_spi.h
@@ -13,7 +13,6 @@ struct bcm63xx_spi_pdata {
unsigned int msg_ctl_width;
int bus_num;
int num_chipselect;
- u32 speed_hz;
};
enum bcm63xx_regs_spi {