diff options
author | Per Åstrand <per.astrand@arm.com> | 2021-01-12 13:11:13 +0100 |
---|---|---|
committer | Per Åstrand <per.astrand@arm.com> | 2021-02-15 12:15:39 +0100 |
commit | c823bcfeede3a43ee567e79bb88dbe13663a4994 (patch) | |
tree | 5ecb6eb3453ac93fe48d99532e5ed26630160a9f /kernel/uapi/ethosu.h | |
parent | 44c507e3fdbcd1b0ccca252e0763fc4652b0bdbe (diff) | |
download | ethos-u-linux-driver-stack-c823bcfeede3a43ee567e79bb88dbe13663a4994.tar.gz |
Use namespace for ethosu kernel headers
Change-Id: I2866d2e7b25af49c3f8e4ed75dc60177e9b38143
Diffstat (limited to 'kernel/uapi/ethosu.h')
-rw-r--r-- | kernel/uapi/ethosu.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/uapi/ethosu.h b/kernel/uapi/ethosu.h index 0127033..1e53c91 100644 --- a/kernel/uapi/ethosu.h +++ b/kernel/uapi/ethosu.h @@ -28,6 +28,10 @@ #include <linux/ioctl.h> #include <linux/types.h> +#ifdef __cplusplus +namespace EthosU { +#endif + /**************************************************************************** * Defines ****************************************************************************/ @@ -148,4 +152,7 @@ struct ethosu_uapi_result_status { struct ethosu_uapi_pmu_counts pmu_count; }; +#ifdef __cplusplus +} /* namespace EthosU */ +#endif #endif |