Skip to content
Commit 153f38a4 authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Fabio Baltieri
Browse files

device: add braces around dev/dev_rw initializer



The init_entry struct got modified to add a union with a non const dev
pointer in afc59112. Some old compiler (such as GCC 4) seems to
require a pair of brackets to correctly initialize the field in the
union. Add those brackets to the initializers in device.h and init.h to
maintain compatibility.

Signed-off-by: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent f74f309e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment