commit | 2c652a98ca556cca7749c184f0246315367bfad4 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Wed Sep 02 15:46:51 2015 -0700 |
committer | Mark Brown <broonie@kernel.org> | Thu Sep 03 00:11:01 2015 +0100 |
tree | ca01798cb67f19fc37656c17be79c85edbbf442e | |
parent | f5164b8833498825b3197cb34150b142a9fc5bbf [diff] |
regulator: qcom_smd: Handle big endian CPUs The smd rpm structures are always in little endian, but this driver is not capable of being used on big endian CPUs. Annotate the little endian data members and update the code to do the proper byte swapping. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Mark Brown <broonie@kernel.org>