Skip to content

Commit

Permalink
pcmcia: Make struct pcmcia_device_id const, sound drivers edition
Browse files Browse the repository at this point in the history
Make declarations of struct pcmcia_device_id const.

Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Dominik Brodowski <[email protected]>
  • Loading branch information
JoePerches authored and Dominik Brodowski committed May 11, 2011
1 parent 2202a5a commit 4ef7e71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sound/pcmcia/pdaudiocf/pdaudiocf.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ static int pdacf_resume(struct pcmcia_device *link)
/*
* Module entry points
*/
static struct pcmcia_device_id snd_pdacf_ids[] = {
static const struct pcmcia_device_id snd_pdacf_ids[] = {
/* this is too general PCMCIA_DEVICE_MANF_CARD(0x015d, 0x4c45), */
PCMCIA_DEVICE_PROD_ID12("Core Sound","PDAudio-CF",0x396d19d2,0x71717b49),
PCMCIA_DEVICE_NULL
Expand Down
2 changes: 1 addition & 1 deletion sound/pcmcia/vx/vxpocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ static void vxpocket_detach(struct pcmcia_device *link)
* Module entry points
*/

static struct pcmcia_device_id vxp_ids[] = {
static const struct pcmcia_device_id vxp_ids[] = {
PCMCIA_DEVICE_MANF_CARD(0x01f1, 0x0100),
PCMCIA_DEVICE_NULL
};
Expand Down

0 comments on commit 4ef7e71

Please sign in to comment.