]> git.baikalelectronics.ru Git - uboot.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)
commit2ba2b3916fd80d7be5e78ca97ed8e41d8eb4f9b4
tree9bd4b5c359bde737ab16ce7097fdee22d684a6d9
parent313b72c44354b1da402915d88b17bb0dbb9a8562
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