Skip to content

Commit

Permalink
staging: pcmcia: Convert pcmcia_device_id declarations to const
Browse files Browse the repository at this point in the history
Reduces data, increases text.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
  • Loading branch information
Joe Perches authored and Dominik Brodowski committed May 6, 2011
1 parent 25f8f54 commit 2202a5a
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/comedi/drivers/cb_das16_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ static int das16cs_pcmcia_resume(struct pcmcia_device *link)

/*====================================================================*/

static struct pcmcia_device_id das16cs_id_table[] = {
static const struct pcmcia_device_id das16cs_id_table[] = {
PCMCIA_DEVICE_MANF_CARD(0x01c5, 0x0039),
PCMCIA_DEVICE_MANF_CARD(0x01c5, 0x4009),
PCMCIA_DEVICE_NULL
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/comedi/drivers/das08_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ static int das08_pcmcia_resume(struct pcmcia_device *link)

/*====================================================================*/

static struct pcmcia_device_id das08_cs_id_table[] = {
static const struct pcmcia_device_id das08_cs_id_table[] = {
PCMCIA_DEVICE_MANF_CARD(0x01c5, 0x4001),
PCMCIA_DEVICE_NULL
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/comedi/drivers/ni_daq_700.c
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ static int dio700_cs_resume(struct pcmcia_device *link)

/*====================================================================*/

static struct pcmcia_device_id dio700_cs_ids[] = {
static const struct pcmcia_device_id dio700_cs_ids[] = {
/* N.B. These IDs should match those in dio700_boards */
PCMCIA_DEVICE_MANF_CARD(0x010b, 0x4743), /* daqcard-700 */
PCMCIA_DEVICE_NULL
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/comedi/drivers/ni_daq_dio24.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ static int dio24_cs_resume(struct pcmcia_device *link)

/*====================================================================*/

static struct pcmcia_device_id dio24_cs_ids[] = {
static const struct pcmcia_device_id dio24_cs_ids[] = {
/* N.B. These IDs should match those in dio24_boards */
PCMCIA_DEVICE_MANF_CARD(0x010b, 0x475c), /* daqcard-dio24 */
PCMCIA_DEVICE_NULL
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/comedi/drivers/ni_labpc_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ static int labpc_cs_resume(struct pcmcia_device *link)
return 0;
} /* labpc_cs_resume */

static struct pcmcia_device_id labpc_cs_ids[] = {
static const struct pcmcia_device_id labpc_cs_ids[] = {
/* N.B. These IDs should match those in labpc_cs_boards (ni_labpc.c) */
PCMCIA_DEVICE_MANF_CARD(0x010b, 0x0103), /* daqcard-1200 */
PCMCIA_DEVICE_NULL
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/comedi/drivers/ni_mio_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ static int ni_getboardtype(struct comedi_device *dev,

#ifdef MODULE

static struct pcmcia_device_id ni_mio_cs_ids[] = {
static const struct pcmcia_device_id ni_mio_cs_ids[] = {
PCMCIA_DEVICE_MANF_CARD(0x010b, 0x010d), /* DAQCard-ai-16xe-50 */
PCMCIA_DEVICE_MANF_CARD(0x010b, 0x010c), /* DAQCard-ai-16e-4 */
PCMCIA_DEVICE_MANF_CARD(0x010b, 0x02c4), /* DAQCard-6062E */
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/comedi/drivers/quatech_daqp_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ static int daqp_cs_resume(struct pcmcia_device *link)

#ifdef MODULE

static struct pcmcia_device_id daqp_cs_id_table[] = {
static const struct pcmcia_device_id daqp_cs_id_table[] = {
PCMCIA_DEVICE_MANF_CARD(0x0137, 0x0027),
PCMCIA_DEVICE_NULL
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/ft1000/ft1000-pcmcia/ft1000_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ static int ft1000_resume(struct pcmcia_device *link)

/*====================================================================*/

static struct pcmcia_device_id ft1000_ids[] = {
static const struct pcmcia_device_id ft1000_ids[] = {
PCMCIA_DEVICE_MANF_CARD(0x02cc, 0x0100),
PCMCIA_DEVICE_MANF_CARD(0x02cc, 0x1000),
PCMCIA_DEVICE_MANF_CARD(0x02cc, 0x1300),
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/wlags49_h2/wl_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ int wl_adapter_close(struct net_device *dev)
} /* wl_adapter_close */
/*============================================================================*/

static struct pcmcia_device_id wl_adapter_ids[] = {
static const struct pcmcia_device_id wl_adapter_ids[] = {
#if !((HCF_TYPE) & HCF_TYPE_HII5)
PCMCIA_DEVICE_MANF_CARD(0x0156, 0x0003),
PCMCIA_DEVICE_PROD_ID12("Agere Systems", "Wireless PC Card Model 0110",
Expand Down

0 comments on commit 2202a5a

Please sign in to comment.