]> Git Repo - u-boot.git/commit
spi: ich: Add mmio_base to struct ich_spi_platdata
authorSimon Glass <[email protected]>
Sat, 7 Dec 2019 04:42:42 +0000 (21:42 -0700)
committerBin Meng <[email protected]>
Sun, 15 Dec 2019 03:44:22 +0000 (11:44 +0800)
commit75214b051bfbbdafa5134b4320b9e4ae6ee9b22d
tree7f5482d4229c448a2d6d8b2fbffea7f4298cb7ae
parenta550662c270eb66b373498dae0cea2456fb30e22
spi: ich: Add mmio_base to struct ich_spi_platdata

It is useful to store the mmio base in platdata. It reduces the amount of
casting needed. Update the code and move the struct to the C file at the
same time, as we will need to use with of-platdata.

Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
drivers/spi/ich.c
drivers/spi/ich.h
This page took 0.034393 seconds and 4 git commands to generate.