summaryrefslogtreecommitdiffstats
path: root/sound/i2c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-04-02 13:29:23 +0200
committerTakashi Iwai <tiwai@suse.de>2010-04-04 12:21:39 +0200
commitf11947c7c5b8abffd328739996dfdffef2b3e03f (patch)
tree52943b6c8af2184c20458d12bdef2c8705a18a6b /sound/i2c
parentALSA: ac97: Add Toshiba P500 to ac97 jack sense blacklist (diff)
downloadlinux-f11947c7c5b8abffd328739996dfdffef2b3e03f.tar.xz
linux-f11947c7c5b8abffd328739996dfdffef2b3e03f.zip
ALSA: i2c: cleanup: change parameter to pointer
We actually pass an array of 7 chars not 5. This silences a smatch warning. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/i2c')
-rw-r--r--sound/i2c/other/ak4113.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/i2c/other/ak4113.c b/sound/i2c/other/ak4113.c
index fff62cc8607c..971a84a4fa77 100644
--- a/sound/i2c/other/ak4113.c
+++ b/sound/i2c/other/ak4113.c
@@ -70,7 +70,7 @@ static int snd_ak4113_dev_free(struct snd_device *device)
}
int snd_ak4113_create(struct snd_card *card, ak4113_read_t *read,
- ak4113_write_t *write, const unsigned char pgm[5],
+ ak4113_write_t *write, const unsigned char *pgm,
void *private_data, struct ak4113 **r_ak4113)
{
struct ak4113 *chip;