From 6ce3e03f717820eb8edd92c9ac659e2a050727db Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Mon, 20 Oct 2014 13:27:42 +0800 Subject: [PATCH] greybus: greybus_manifest.h: fix up class protocol numbers to match the spec. Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/greybus_manifest.h | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/drivers/staging/greybus/greybus_manifest.h b/drivers/staging/greybus/greybus_manifest.h index 4fd27d3823a1..2f1249a63abd 100644 --- a/drivers/staging/greybus/greybus_manifest.h +++ b/drivers/staging/greybus/greybus_manifest.h @@ -36,18 +36,20 @@ enum greybus_protocol { enum greybus_class_type { GREYBUS_CLASS_CONTROL = 0x00, - GREYBUS_CLASS_USB = 0x01, + GREYBUS_CLASS_AP = 0x01, GREYBUS_CLASS_GPIO = 0x02, - GREYBUS_CLASS_SPI = 0x03, + GREYBUS_CLASS_I2C = 0x03, GREYBUS_CLASS_UART = 0x04, - GREYBUS_CLASS_PWM = 0x05, - GREYBUS_CLASS_I2S = 0x06, - GREYBUS_CLASS_I2C = 0x07, - GREYBUS_CLASS_SDIO = 0x08, - GREYBUS_CLASS_HID = 0x09, - GREYBUS_CLASS_DISPLAY = 0x0a, - GREYBUS_CLASS_CAMERA = 0x0b, - GREYBUS_CLASS_SENSOR = 0x0c, + GREYBUS_CLASS_HID = 0x05, + GREYBUS_CLASS_USB = 0x06, + GREYBUS_CLASS_SDIO = 0x07, + GREYBUS_CLASS_BATTERY = 0x08, + GREYBUS_CLASS_PWM = 0x09, + GREYBUS_CLASS_I2S = 0x0a, + GREYBUS_CLASS_SPI = 0x0b, + GREYBUS_CLASS_DISPLAY = 0x0c, + GREYBUS_CLASS_CAMERA = 0x0d, + GREYBUS_CLASS_SENSOR = 0x0e, GREYBUS_CLASS_VENDOR = 0xff, }; -- 2.39.5