Skip to contentSkip to conversation

Constify wacom_features for a new missed Bamboo models

PATCH In review Ping Cheng 2 participants 2 messages Mar 26, 2011 – Mar 27, 2011

Subsystems (2)
lore
Share & tools
lore

Ping Cheng

author
#0 lore raw

PATCH 1/2 Constify wacom_features for a new missed Bamboo models

---
 drivers/input/tablet/wacom_wac.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
drivers/input/tablet/wacom_wac.c +8 -8
index 5597637..ba6e17c 100644
@@ -1366,23 +1366,23 @@ static const struct wacom_features wacom_features_0xE3 =
 	{ "Wacom ISDv4 E3",       WACOM_PKGLEN_TPC2FG,    26202, 16325,  255,  0, TABLETPC2FG };
 static const struct wacom_features wacom_features_0x47 =
 	{ "Wacom Intuos2 6x8",    WACOM_PKGLEN_INTUOS,    20320, 16240, 1023, 31, INTUOS };
-static struct wacom_features wacom_features_0xD0 =
+static const struct wacom_features wacom_features_0xD0 =
 	{ "Wacom Bamboo 2FG",     WACOM_PKGLEN_BBFUN,     14720,  9200, 1023, 63, BAMBOO_PT };
-static struct wacom_features wacom_features_0xD1 =
+static const struct wacom_features wacom_features_0xD1 =
 	{ "Wacom Bamboo 2FG 4x5", WACOM_PKGLEN_BBFUN,     14720,  9200, 1023, 63, BAMBOO_PT };
-static struct wacom_features wacom_features_0xD2 =
+static const struct wacom_features wacom_features_0xD2 =
 	{ "Wacom Bamboo Craft",   WACOM_PKGLEN_BBFUN,     14720,  9200, 1023, 63, BAMBOO_PT };
-static struct wacom_features wacom_features_0xD3 =
+static const struct wacom_features wacom_features_0xD3 =
 	{ "Wacom Bamboo 2FG 6x8", WACOM_PKGLEN_BBFUN,     21648, 13530, 1023, 63, BAMBOO_PT };
 static const struct wacom_features wacom_features_0xD4 =
 	{ "Wacom Bamboo Pen",     WACOM_PKGLEN_BBFUN,     14720,  9200,  255, 63, BAMBOO_PT };
-static struct wacom_features wacom_features_0xD6 =
+static const struct wacom_features wacom_features_0xD6 =
 	{ "Wacom BambooPT 2FG 4x5", WACOM_PKGLEN_BBFUN,   14720,  9200, 1023, 63, BAMBOO_PT };
-static struct wacom_features wacom_features_0xD7 =
+static const struct wacom_features wacom_features_0xD7 =
 	{ "Wacom BambooPT 2FG Small", WACOM_PKGLEN_BBFUN, 14720,  9200, 1023, 63, BAMBOO_PT };
-static struct wacom_features wacom_features_0xD8 =
+static const struct wacom_features wacom_features_0xD8 =
 	{ "Wacom Bamboo Comic 2FG", WACOM_PKGLEN_BBFUN,   21648, 13530, 1023, 63, BAMBOO_PT };
-static struct wacom_features wacom_features_0xDA =
+static const struct wacom_features wacom_features_0xDA =
 	{ "Wacom Bamboo 2FG 4x5 SE", WACOM_PKGLEN_BBFUN,  14720,  9200, 1023, 63, BAMBOO_PT };
 static struct wacom_features wacom_features_0xDB =
 	{ "Wacom Bamboo 2FG 6x8 SE", WACOM_PKGLEN_BBFUN,  21648, 13530, 1023, 63, BAMBOO_PT };
Signature · 1 line
1.7.4
Reviewed-by on v1 1/2
#1 lore raw
Quoted 44 lines · Ping Cheng

---
 drivers/input/tablet/wacom_wac.c |   16 ++++++++--------

 1 files changed, 8 insertions(+), 8 deletions(-)
drivers/input/tablet/wacom_wac.c +0 -0
index 5597637..ba6e17c 100644
@@ -1366,23 +1366,23 @@ static const struct wacom_features wacom_features_0xE3 =
        { "Wacom ISDv4 E3",       WACOM_PKGLEN_TPC2FG,    26202, 16325,  255,  0, TABLETPC2FG };

 static const struct wacom_features wacom_features_0x47 =
       { "Wacom Intuos2 6x8",    WACOM_PKGLEN_INTUOS,    20320, 16240, 1023, 31, INTUOS };

drivers/input/tablet/wacom_wac.c +1 -1
-static struct wacom_features wacom_features_0xD0 =
+static const struct wacom_features wacom_features_0xD0 =

       { "Wacom Bamboo 2FG",     WACOM_PKGLEN_BBFUN,     14720,  9200, 1023, 63, BAMBOO_PT };

drivers/input/tablet/wacom_wac.c +1 -1
-static struct wacom_features wacom_features_0xD1 =
+static const struct wacom_features wacom_features_0xD1 =

       { "Wacom Bamboo 2FG 4x5", WACOM_PKGLEN_BBFUN,     14720,  9200, 1023, 63, BAMBOO_PT };

drivers/input/tablet/wacom_wac.c +1 -1
-static struct wacom_features wacom_features_0xD2 =
+static const struct wacom_features wacom_features_0xD2 =

       { "Wacom Bamboo Craft",   WACOM_PKGLEN_BBFUN,     14720,  9200, 1023, 63, BAMBOO_PT };

drivers/input/tablet/wacom_wac.c +1 -1
-static struct wacom_features wacom_features_0xD3 =
+static const struct wacom_features wacom_features_0xD3 =

       { "Wacom Bamboo 2FG 6x8", WACOM_PKGLEN_BBFUN,     21648, 13530, 1023, 63, BAMBOO_PT }; static const struct wacom_features wacom_features_0xD4 =
       { "Wacom Bamboo Pen",     WACOM_PKGLEN_BBFUN,     14720,  9200,  255, 63, BAMBOO_PT };

drivers/input/tablet/wacom_wac.c +1 -1
-static struct wacom_features wacom_features_0xD6 =
+static const struct wacom_features wacom_features_0xD6 =

       { "Wacom BambooPT 2FG 4x5", WACOM_PKGLEN_BBFUN,   14720,  9200, 1023, 63, BAMBOO_PT };

drivers/input/tablet/wacom_wac.c +1 -1
-static struct wacom_features wacom_features_0xD7 =
+static const struct wacom_features wacom_features_0xD7 =

       { "Wacom BambooPT 2FG Small", WACOM_PKGLEN_BBFUN, 14720,  9200, 1023, 63, BAMBOO_PT };

drivers/input/tablet/wacom_wac.c +1 -1
-static struct wacom_features wacom_features_0xD8 =
+static const struct wacom_features wacom_features_0xD8 =

       { "Wacom Bamboo Comic 2FG", WACOM_PKGLEN_BBFUN,   21648, 13530, 1023, 63, BAMBOO_PT };

drivers/input/tablet/wacom_wac.c +1 -1
-static struct wacom_features wacom_features_0xDA =
+static const struct wacom_features wacom_features_0xDA =

       { "Wacom Bamboo 2FG 4x5 SE", WACOM_PKGLEN_BBFUN,  14720,  9200, 1023, 63, BAMBOO_PT }; static struct wacom_features wacom_features_0xDB =
       { "Wacom Bamboo 2FG 6x8 SE", WACOM_PKGLEN_BBFUN,  21648, 13530, 1023, 63, BAMBOO_PT }; --
1.7.4

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html