]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: omap3: Fix redeclared error
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 14 Mar 2018 17:37:31 +0000 (23:07 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 14 Mar 2018 17:49:31 +0000 (23:19 +0530)
commitb2b41d27775823b8e19f6816aa08ffca0e234ade
tree9bd4b5c359bde737ab16ce7097fdee22d684a6d9
parentc2a7a7ef866f2980213fee2a4a0df60fb06db6d0
spi: omap3: Fix redeclared error

omap3_spi_set_speed|mode redeclared bus symbol, fix the same.

error:
drivers/spi/omap3_spi.c: In function ‘omap3_spi_set_speed’:
drivers/spi/omap3_spi.c:650:18: error: ‘bus’ redeclared as different kind of symbol
  struct udevice *bus = dev->parent;

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/omap3_spi.c