diff options
author | Jeremy Kerr <jeremy.kerr@canonical.com> | 2010-01-30 09:41:49 +0100 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-02-09 16:34:10 +0100 |
commit | 2e89e685a8fd0e8334de967739d11e2e28c1a4dd (patch) | |
tree | 6fdf51430532616584f0ffa65376b5a2a4c49a40 /drivers/of/of_i2c.c | |
parent | of/flattree: use OF_ROOT_NODE_{SIZE,ADDR}_CELLS DEFAULT for fdt parsing (diff) | |
download | linux-2e89e685a8fd0e8334de967739d11e2e28c1a4dd.tar.xz linux-2e89e685a8fd0e8334de967739d11e2e28c1a4dd.zip |
of: use __be32 for cell value accessors
Currently, we're using u32 for cell values, and hence assuming
host-endian device trees.
As we'd like to support little-endian platforms, use a __be32 for cell
values, and convert in the cell accessors.
Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/of/of_i2c.c')
0 files changed, 0 insertions, 0 deletions