aboutsummaryrefslogtreecommitdiff
path: root/include/linux/raid_class.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/raid_class.h')
-rw-r--r--include/linux/raid_class.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/raid_class.h b/include/linux/raid_class.h
index d0dd38b3a2f..d22ad392242 100644
--- a/include/linux/raid_class.h
+++ b/include/linux/raid_class.h
@@ -77,5 +77,6 @@ DEFINE_RAID_ATTRIBUTE(enum raid_state, state)
struct raid_template *raid_class_attach(struct raid_function_template *);
void raid_class_release(struct raid_template *);
-void raid_component_add(struct raid_template *, struct device *,
- struct device *);
+int __must_check raid_component_add(struct raid_template *, struct device *,
+ struct device *);
+