Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2202a5a7 authored by Joe Perches's avatar Joe Perches Committed by Dominik Brodowski
Browse files

staging: pcmcia: Convert pcmcia_device_id declarations to const



Reduces data, increases text.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent 25f8f54f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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
};
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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
Loading