diff --git a/[refs] b/[refs] index 0c3f684af89d..ca7873f79a9b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c982c368bb90adbd312faa05d0cfd842e9ab45a7 +refs/heads/master: cc9b2e9f6603190c009e5d2629ce8e3f99571346 diff --git a/trunk/drivers/misc/enclosure.c b/trunk/drivers/misc/enclosure.c index e9eae4a78402..1eac626e710a 100644 --- a/trunk/drivers/misc/enclosure.c +++ b/trunk/drivers/misc/enclosure.c @@ -391,6 +391,7 @@ static const char *const enclosure_status [] = { [ENCLOSURE_STATUS_NOT_INSTALLED] = "not installed", [ENCLOSURE_STATUS_UNKNOWN] = "unknown", [ENCLOSURE_STATUS_UNAVAILABLE] = "unavailable", + [ENCLOSURE_STATUS_MAX] = NULL, }; static const char *const enclosure_type [] = { diff --git a/trunk/include/linux/enclosure.h b/trunk/include/linux/enclosure.h index 90d1c2184112..9a33c5f7e126 100644 --- a/trunk/include/linux/enclosure.h +++ b/trunk/include/linux/enclosure.h @@ -42,6 +42,8 @@ enum enclosure_status { ENCLOSURE_STATUS_NOT_INSTALLED, ENCLOSURE_STATUS_UNKNOWN, ENCLOSURE_STATUS_UNAVAILABLE, + /* last element for counting purposes */ + ENCLOSURE_STATUS_MAX }; /* SFF-8485 activity light settings */