X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fraid_class.h;h=d22ad392242ac811bf1c432c89b4c18592dbd987;hb=febb187761b02fce7d61b9c897d0e701f672b5ee;hp=48831eac291075b31cb45d766cc8f76b6c9cdaac;hpb=0da36b3467040908d3df6bc1f5b4d592a8b23b63;p=linux-2.6 diff --git a/include/linux/raid_class.h b/include/linux/raid_class.h index 48831eac29..d22ad39224 100644 --- a/include/linux/raid_class.h +++ b/include/linux/raid_class.h @@ -31,9 +31,11 @@ enum raid_level { RAID_LEVEL_LINEAR, RAID_LEVEL_0, RAID_LEVEL_1, + RAID_LEVEL_10, RAID_LEVEL_3, RAID_LEVEL_4, RAID_LEVEL_5, + RAID_LEVEL_50, RAID_LEVEL_6, }; @@ -75,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 *); +