diff mbox series

scsi: raid_class: add include guard to raid_class.h

Message ID 20190728164706.16558-1-yamada.masahiro@socionext.com
State New
Headers show
Series scsi: raid_class: add include guard to raid_class.h | expand

Commit Message

Masahiro Yamada July 28, 2019, 4:47 p.m. UTC
Add a header include guard just in case.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

 include/linux/raid_class.h | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.17.1
diff mbox series

Patch

diff --git a/include/linux/raid_class.h b/include/linux/raid_class.h
index 5cdfcb873a8f..b62e42d8bb17 100644
--- a/include/linux/raid_class.h
+++ b/include/linux/raid_class.h
@@ -4,6 +4,10 @@ 
  *
  * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com>
  */
+
+#ifndef _LINUX_RAID_CLASS_H
+#define _LINUX_RAID_CLASS_H
+
 #include <linux/transport_class.h>
 
 struct raid_template {
@@ -81,3 +85,4 @@  void raid_class_release(struct raid_template *);
 int __must_check raid_component_add(struct raid_template *, struct device *,
 				    struct device *);
 
+#endif /* _LINUX_RAID_CLASS_H */