Unify the guide line of header file, we choose '__FOO_BAR_H__' style.
Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@corigine.com>
---
drivers/net/nfp/nfpcore/nfp_cpp.h | 2 +-
drivers/net/nfp/nfpcore/nfp_hwinfo.h | 2 +-
drivers/net/nfp/nfpcore/nfp_mip.h | 2 +-
drivers/net/nfp/nfpcore/nfp_nffw.h | 2 +-
drivers/net/nfp/nfpcore/nfp_nsp.h | 6 +++---
drivers/net/nfp/nfpcore/nfp_resource.h | 6 +++---
drivers/net/nfp/nfpcore/nfp_rtsym.h | 2 +-
drivers/net/nfp/nfpcore/nfp_target.h | 6 +++---
8 files changed, 14 insertions(+), 14 deletions(-)
@@ -442,4 +442,4 @@ int nfp_cpp_mutex_trylock(struct nfp_cpp_mutex *mutex);
uint32_t nfp_cpp_mu_locality_lsb(struct nfp_cpp *cpp);
-#endif /* !__NFP_CPP_H__ */
+#endif /* __NFP_CPP_H__ */
@@ -81,4 +81,4 @@ struct nfp_hwinfo *nfp_hwinfo_read(struct nfp_cpp *cpp);
const char *nfp_hwinfo_lookup(struct nfp_hwinfo *hwinfo, const char *lookup);
-#endif
+#endif /* __NFP_HWINFO_H__ */
@@ -19,4 +19,4 @@ void nfp_mip_strtab(const struct nfp_mip *mip, uint32_t *addr, uint32_t *size);
int nfp_nffw_info_mip_first(struct nfp_nffw_info *state, uint32_t *cpp_id,
uint64_t *off);
-#endif
+#endif /* __NFP_MIP_H__ */
@@ -75,4 +75,4 @@ struct nfp_nffw_info {
struct nfp_nffw_info *nfp_nffw_info_open(struct nfp_cpp *cpp);
void nfp_nffw_info_close(struct nfp_nffw_info *state);
-#endif
+#endif /* __NFP_NFFW_H__ */
@@ -3,8 +3,8 @@
* All rights reserved.
*/
-#ifndef NSP_NSP_H
-#define NSP_NSP_H 1
+#ifndef __NSP_NSP_H__
+#define __NSP_NSP_H__
#include "nfp_cpp.h"
#include "nfp_nsp.h"
@@ -260,4 +260,4 @@ enum nfp_nsp_sensor_id {
int nfp_hwmon_read_sensor(struct nfp_cpp *cpp, enum nfp_nsp_sensor_id id,
uint32_t *val);
-#endif
+#endif /* __NSP_NSP_H__ */
@@ -3,8 +3,8 @@
* All rights reserved.
*/
-#ifndef NFP_RESOURCE_H
-#define NFP_RESOURCE_H
+#ifndef __NFP_RESOURCE_H__
+#define __NFP_RESOURCE_H__
#include "nfp_cpp.h"
@@ -33,4 +33,4 @@ uint64_t nfp_resource_address(const struct nfp_resource *res);
uint64_t nfp_resource_size(const struct nfp_resource *res);
-#endif /* NFP_RESOURCE_H */
+#endif /* __NFP_RESOURCE_H__ */
@@ -58,4 +58,4 @@ uint64_t nfp_rtsym_read_le(struct nfp_rtsym_table *rtbl, const char *name,
uint8_t *nfp_rtsym_map(struct nfp_rtsym_table *rtbl, const char *name,
uint32_t min_size, struct nfp_cpp_area **area);
-#endif
+#endif /* __NFP_RTSYM_H__ */
@@ -3,7 +3,7 @@
* All rights reserved.
*/
-#ifndef NFP_TARGET_H
-#define NFP_TARGET_H
+#ifndef __NFP_TARGET_H__
+#define __NFP_TARGET_H__
-#endif /* NFP_TARGET_H */
+#endif /* __NFP_TARGET_H__ */