Applied assortment of Arch Linux ARM patches
This commit is contained in:
@@ -67,7 +67,7 @@ static int ec_get_version(struct cros_ec_device *ec, char *str, int maxlen)
|
||||
}
|
||||
if (resp.current_image >= ARRAY_SIZE(current_image_name))
|
||||
resp.current_image = 3; /* invalid */
|
||||
snprintf(str, maxlen, "%s\n%s\n%s\n\%s\n", CROS_EC_DEV_VERSION,
|
||||
snprintf(str, maxlen, "%s\n%s\n%s\n%s\n", CROS_EC_DEV_VERSION,
|
||||
resp.version_string_ro, resp.version_string_rw,
|
||||
current_image_name[resp.current_image]);
|
||||
|
||||
|
||||
@@ -244,7 +244,7 @@ static ssize_t store_rgb(struct device *dev, struct device_attribute *attr,
|
||||
return (ok && i == 0) ? count : -EINVAL;
|
||||
}
|
||||
|
||||
static const char const *seqname[] = {
|
||||
static const char *seqname[] = {
|
||||
"ERROR", "S5", "S3", "S0", "S5S3", "S3S0",
|
||||
"S0S3", "S3S5", "STOP", "RUN", "PULSE", "TEST", "KONAMI",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user