Skip to contentSkip to conversation

sound/oss/dmasound/tas_common.c:replace [const]char *s=""

PATCH New Vicente Feito 1 participant 1 message Feb 4, 2005

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

PATCH 1/1 sound/oss/dmasound/tas_common.c:replace [const]char *s=""

Hi,
Please consider applying.
Thank you.

Description: Replaces static const char *s = "" with static const char s[] = "".

sound/oss/dmasound/tas_common.c 2005-02-04 09:22:40.000000000 +0000 renamed from sound/oss/dmasound/tas_common.c 2005-02-04 02:09:10.000000000 +0000 +1 -1
@@ -126,7 +126,7 @@ tas_post_init(void)
 static int
 tas_detect_client(struct i2c_adapter *adapter, int address)
 {
-       static const char *client_name = "tas Digital Equalizer";
+       static const char client_name[] = "tas Digital Equalizer";
        struct i2c_client *new_client;
        int rc = -ENODEV;
 

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors