Re: sound: constify snd_ac97_bus_ops

From: Takashi Iwai
Date: Sun Jul 24 2011 - 07:59:36 EST


At Sun, 24 Jul 2011 11:40:48 +0200,
Lionel Debroux wrote:
>
> The fields of this struct type don't seem to be used as rvalues, besides
> the initialization of struct instances. Let's make const the struct
> instances.
>
> Maybe the Documentation/DocBook/writing-an-alsa-driver.tmpl, and
> checkpatch.pl should be updated to reflect this change ?

Yes, please either update or give an additional patch for document
fixes.

I'll apply these series not for 3.1 since this changes API. Will be
applied the branches for 3.2.


thanks,

Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/