[v4,1/5] raw/gdtc: introduce gdtc raw device driver

Stephen Hemminger stephen at networkplumber.org
Tue Nov 12 06:08:00 CET 2024


On Tue, 29 Oct 2024 21:45:22 +0800
Yong Zhang <zhang.yong25 at zte.com.cn> wrote:

> diff --git a/drivers/raw/gdtc/gdtc_rawdev.h b/drivers/raw/gdtc/gdtc_rawdev.h
> new file mode 100644
> index 0000000000..1c502694f4
> --- /dev/null
> +++ b/drivers/raw/gdtc/gdtc_rawdev.h
> @@ -0,0 +1,120 @@
> +/* SPDX-License-Identifier: BSD-3-Clause
> + * Copyright 2024 ZTE Corporation
> + */
> +
> +#ifndef __GDTC_RAWDEV_H__
> +#define __GDTC_RAWDEV_H__
> +
> +#ifdef __cplusplus
> +extern "C" {
> +#endif


This file is only include by gdtc_rawdev.c therefore the C++ guards
are not needed.


More information about the dev mailing list