diff options
author | Aaron Durbin <adurbin@chromium.org> | 2017-11-09 12:38:03 -0700 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-11-10 06:33:28 +0000 |
commit | 6f1e8d24af98299c296b358e575b485300f851b9 (patch) | |
tree | 9fe99c7c161d6a739ee747805233092ca716d275 /src/mainboard/google/reef | |
parent | 7a39e02cfdfc1d44b3ac8d53f03e68f0fe7893d4 (diff) |
device: untangle device_t from struct device some more
This further allows compilation units to be re-used without
having to add macro guards because of declarations not being
around in the __SIMPLE_DEVICE__ case. These declarations are for
functions that operate on struct device. struct device is a known
type so just expose the functions using the correct type. Also,
DEVTREE_CONST is empty while in ramstage so there's no reason
to separate the declarations. They compile regardless of stage.
Change-Id: Idd4180437d30e7dfaa9f735416c108841e43129f
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/22397
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Diffstat (limited to 'src/mainboard/google/reef')
0 files changed, 0 insertions, 0 deletions