Skip to content
Commit 89225351 authored by Quanyang Wang's avatar Quanyang Wang Committed by Bruce Ashfield
Browse files

include: uapi: xlnxsync: fix hdrtest failure due to unknown type name



When enabling CONFIG_UAPI_HEADER_TEST, there will be compile error as
below:

In file included from <command-line>:32:
./usr/include/linux/xlnxsync.h:37:2: error: unknown type name ‘u8’
   37 |  u8 prod_sync : 1;
      |  ^~

There is no u8/u16/u32/u64/bool definition in uapi headers. So we need
use __u8/__u16/__u32/__u64 which defined in include/uapi/linux/types.h.

Signed-off-by: default avatarQuanyang Wang <quanyang.wang@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent 1821b77e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment