diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2018-04-30 11:24:42 +0300 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2018-05-02 12:28:30 +0300 |
commit | bde1a3d84634f98151e3f748ab90865e9f544b10 (patch) | |
tree | 5ea16a8da56be78b3d5a2c3f5f1fedd4030b3cec /kernel/acct.c | |
parent | 60cc43fc888428bb2f18f08997432d426a243338 (diff) | |
download | linux-bde1a3d84634f98151e3f748ab90865e9f544b10.tar.xz |
mtd: rawnand: davinci: store the core chipselect number in platform data
We have the 'ti,davinci-chipselect' property in the device tree, but
when using platform data the driver silently uses the id field of
struct platform_device as the chipselect. This is confusing and we
almost broke the nand support again recently after converting the
platform to common clock framework (which changed the device id in the
clock lookup - the problem is gone now that we no longer acquire the
clock in the nand driver.
This patch adds a new field - core_chipsel - to the platform_data.
Subsequent patches will convert the platforms to using this new field.
Acked-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'kernel/acct.c')
0 files changed, 0 insertions, 0 deletions