diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2014-08-15 14:02:15 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-09-09 13:59:06 +0200 |
commit | b315376573778b195e640a163675fb9f5937ddca (patch) | |
tree | 1df134c608df7a6925906564c3454698763c386c /lib/percpu_counter.c | |
parent | 1d75f74b14dbeee1bd9f1e96efa1cbebeb2804cb (diff) | |
download | op-kernel-dev-b315376573778b195e640a163675fb9f5937ddca.zip op-kernel-dev-b315376573778b195e640a163675fb9f5937ddca.tar.gz |
mmc: sdhci-pxav3: set_uhs_signaling is initialized twice differently
.set_uhs_signaling field is currently initialised twice once to the
arch specific callback pxav3_set_uhs_signaling, and also to the generic
sdhci_set_uhs_signaling callback.
This means that uhs is currently broken for this platform currently, as pxav3
has some special constriants which means it can't use the generic callback.
This happened in
commit 96d7b78cfc2f ("mmc: sdhci: convert sdhci_set_uhs_signaling() into a library function")
commit a702c8abb2a9 ("mmc: host: split up sdhci-pxa, create sdhci-pxav3.c")'
Fix this and hopefully prevent it happening in the future by ensuring named
initialisers always follow the declaration order in the structure definition.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Cc: <stable@vger.kernel.org> # v3.16+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'lib/percpu_counter.c')
0 files changed, 0 insertions, 0 deletions