diff options
Diffstat (limited to 'sound/aoa/codecs/snd-aoa-codec-onyx.c')
-rw-r--r-- | sound/aoa/codecs/snd-aoa-codec-onyx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/aoa/codecs/snd-aoa-codec-onyx.c b/sound/aoa/codecs/snd-aoa-codec-onyx.c index e91f9f66f395..ded516717940 100644 --- a/sound/aoa/codecs/snd-aoa-codec-onyx.c +++ b/sound/aoa/codecs/snd-aoa-codec-onyx.c | |||
@@ -1018,7 +1018,7 @@ static int onyx_create(struct i2c_adapter *adapter, | |||
1018 | onyx->i2c.driver = &onyx_driver; | 1018 | onyx->i2c.driver = &onyx_driver; |
1019 | onyx->i2c.adapter = adapter; | 1019 | onyx->i2c.adapter = adapter; |
1020 | onyx->i2c.addr = addr & 0x7f; | 1020 | onyx->i2c.addr = addr & 0x7f; |
1021 | strlcpy(onyx->i2c.name, "onyx audio codec", I2C_NAME_SIZE-1); | 1021 | strlcpy(onyx->i2c.name, "onyx audio codec", I2C_NAME_SIZE); |
1022 | 1022 | ||
1023 | if (i2c_attach_client(&onyx->i2c)) { | 1023 | if (i2c_attach_client(&onyx->i2c)) { |
1024 | printk(KERN_ERR PFX "failed to attach to i2c\n"); | 1024 | printk(KERN_ERR PFX "failed to attach to i2c\n"); |
@@ -1033,7 +1033,7 @@ static int onyx_create(struct i2c_adapter *adapter, | |||
1033 | goto fail; | 1033 | goto fail; |
1034 | } | 1034 | } |
1035 | 1035 | ||
1036 | strlcpy(onyx->codec.name, "onyx", MAX_CODEC_NAME_LEN-1); | 1036 | strlcpy(onyx->codec.name, "onyx", MAX_CODEC_NAME_LEN); |
1037 | onyx->codec.owner = THIS_MODULE; | 1037 | onyx->codec.owner = THIS_MODULE; |
1038 | onyx->codec.init = onyx_init_codec; | 1038 | onyx->codec.init = onyx_init_codec; |
1039 | onyx->codec.exit = onyx_exit_codec; | 1039 | onyx->codec.exit = onyx_exit_codec; |