git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: Replace the magic number 44 with const
[pandora-kernel.git]
/
sound
/
pci
/
hda
/
hda_jack.c
diff --git
a/sound/pci/hda/hda_jack.c
b/sound/pci/hda/hda_jack.c
index
9e0a952
..
3fd2973
100644
(file)
--- a/
sound/pci/hda/hda_jack.c
+++ b/
sound/pci/hda/hda_jack.c
@@
-398,7
+398,7
@@
static int add_jack_kctl(struct hda_codec *codec, hda_nid_t nid,
const char *base_name)
{
unsigned int def_conf, conn;
- char name[
44
];
+ char name[
SNDRV_CTL_ELEM_ID_NAME_MAXLEN
];
int idx, err;
bool phantom_jack;