spi/bcm63xx: Move default clock configuration to kill compiler warning
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 9 Nov 2015 09:28:50 +0000 (10:28 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 16 Nov 2015 17:44:21 +0000 (17:44 +0000)
commit4dde99bd32fc3f61f7c2b602a78f1627a118e450
treec5129b9c0cb6b29399315a2f18332c0aea7ed754
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
spi/bcm63xx: Move default clock configuration to kill compiler warning

drivers/spi/spi-bcm63xx.c: In function ‘bcm63xx_spi_setup_transfer’:
drivers/spi/spi-bcm63xx.c:207: warning: ‘clk_cfg’ may be used uninitialized in this function

While this is a false positive, it can easily be avoided by selecting
the default clock configuration first.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm63xx.c