diff options
author | Antonello Dettori <dev@dettori.io> | 2016-09-02 09:08:01 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-09-04 05:47:53 +0200 |
commit | 20c9afa9c7035d102f2ce102ffe23e86ca520242 (patch) | |
tree | 02a4f723cb42fb7fa4054d022e9dd57d9ddce07b /util/nvramtool/lbtable.h | |
parent | dac8240c2e008598395de6a3c80a4fd5d2eaf9f9 (diff) |
arch/acpi.h: add #if guard to handle the absence of device_t type
Avoid the inclusion of a function declaration if the argument type
device_t is not defined.
This was not a problem until now because the
old declaration of device_t and the new one overlapped.
Change-Id: I05a6ef1bf65bf47f3c6933073ae2d26992348813
Signed-off-by: Antonello Dettori <dev@dettori.io>
Reviewed-on: https://review.coreboot.org/16404
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util/nvramtool/lbtable.h')
0 files changed, 0 insertions, 0 deletions