Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250735
b: refs/heads/master
c: e9fb13b
h: refs/heads/master
i:
  250733: 9f83713
  250731: 2d3e3e2
  250727: 62eb66c
  250719: d294856
v: v3
  • Loading branch information
Joe Perches authored and Dominik Brodowski committed May 6, 2011
1 parent 7e22fb2 commit 9b2c30c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 37fac4b6e6fde4ea4f5fd76948ba6f3e5dc63c01
refs/heads/master: e9fb13bfec7e017130ddc5c1b5466340470f4900
6 changes: 3 additions & 3 deletions trunk/drivers/pcmcia/ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ MODULE_LICENSE("GPL");

static void pcmcia_check_driver(struct pcmcia_driver *p_drv)
{
struct pcmcia_device_id *did = p_drv->id_table;
const struct pcmcia_device_id *did = p_drv->id_table;
unsigned int i;
u32 hash;

Expand Down Expand Up @@ -784,7 +784,7 @@ static inline int pcmcia_load_firmware(struct pcmcia_device *dev, char * filenam


static inline int pcmcia_devmatch(struct pcmcia_device *dev,
struct pcmcia_device_id *did)
const struct pcmcia_device_id *did)
{
if (did->match_flags & PCMCIA_DEV_ID_MATCH_MANF_ID) {
if ((!dev->has_manf_id) || (dev->manf_id != did->manf_id))
Expand Down Expand Up @@ -890,7 +890,7 @@ static int pcmcia_bus_match(struct device *dev, struct device_driver *drv)
{
struct pcmcia_device *p_dev = to_pcmcia_dev(dev);
struct pcmcia_driver *p_drv = to_pcmcia_drv(drv);
struct pcmcia_device_id *did = p_drv->id_table;
const struct pcmcia_device_id *did = p_drv->id_table;
struct pcmcia_dynid *dynid;

/* match dynamic devices first */
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/pcmcia/ds.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ struct pcmcia_driver {
int (*resume) (struct pcmcia_device *dev);

struct module *owner;
struct pcmcia_device_id *id_table;
const struct pcmcia_device_id *id_table;
struct device_driver drv;
struct pcmcia_dynids dynids;
};
Expand Down

0 comments on commit 9b2c30c

Please sign in to comment.