Skip to content

Commit 4ef7e71

Browse files
JoePerchesDominik Brodowski
authored andcommitted
pcmcia: Make struct pcmcia_device_id const, sound drivers edition
Make declarations of struct pcmcia_device_id const. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
1 parent 2202a5a commit 4ef7e71

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎sound/pcmcia/pdaudiocf/pdaudiocf.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ static int pdacf_resume(struct pcmcia_device *link)
278278
/*
279279
* Module entry points
280280
*/
281-
static struct pcmcia_device_id snd_pdacf_ids[] = {
281+
static const struct pcmcia_device_id snd_pdacf_ids[] = {
282282
/* this is too general PCMCIA_DEVICE_MANF_CARD(0x015d, 0x4c45), */
283283
PCMCIA_DEVICE_PROD_ID12("Core Sound","PDAudio-CF",0x396d19d2,0x71717b49),
284284
PCMCIA_DEVICE_NULL

‎sound/pcmcia/vx/vxpocket.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ static void vxpocket_detach(struct pcmcia_device *link)
350350
* Module entry points
351351
*/
352352

353-
static struct pcmcia_device_id vxp_ids[] = {
353+
static const struct pcmcia_device_id vxp_ids[] = {
354354
PCMCIA_DEVICE_MANF_CARD(0x01f1, 0x0100),
355355
PCMCIA_DEVICE_NULL
356356
};

0 commit comments

Comments
 (0)