Skip to contentSkip to conversation

backlight-ld9040-staticize-local-variable-gamma_table.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 13, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Subject: [merged] backlight-ld9040-staticize-local-variable-gamma_table.patch removed from -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Wed, 13 Nov 2013 12:40:38 -0800

The patch titled
Subject: backlight: ld9040: Staticize local variable gamma_table
has been removed from the -mm tree. Its filename was
backlight-ld9040-staticize-local-variable-gamma_table.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Jingoo Han <[email protected]>
Subject: backlight: ld9040: Staticize local variable gamma_table

Fix the following sparse warnings:

drivers/video/backlight/ld9040_gamma.h:172:3: warning: symbol 'gamma_table' was not declared. Should it be static?

---

 drivers/video/backlight/ld9040_gamma.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/video/backlight/ld9040_gamma.h renamed from drivers/video/backlight/ld9040_gamma.h~backlight-ld9040-staticize-local-variable-gamma_table +3 -1
diff -puN drivers/video/backlight/ld9040_gamma.h~backlight-ld9040-staticize-local-variable-gamma_table drivers/video/backlight/ld9040_gamma.h
@@ -169,7 +169,9 @@ static const unsigned int ld9040_22_50[]
 
 struct ld9040_gamma {
 	unsigned int *gamma_22_table[MAX_GAMMA_LEVEL];
-} gamma_table = {
+};
+
+static struct ld9040_gamma gamma_table = {
 	.gamma_22_table[0] = (unsigned int *)&ld9040_22_50,
 	.gamma_22_table[1] = (unsigned int *)&ld9040_22_70,
 	.gamma_22_table[2] = (unsigned int *)&ld9040_22_80,

_

Patches currently in -mm which might be from [email protected] are

origin.patch drivers-block-sx8c-use-module_pci_driver.patch drivers-block-sx8c-remove-unnecessary-pci_set_drvdata.patch linux-next.patch drivers-rtc-rtc-hid-sensor-timec-use-dev_get_platdata.patch w1-w1-gpio-use-dev_get_platdata.patch