~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to drivers/pcmcia/ds.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
 
46
46
static void pcmcia_check_driver(struct pcmcia_driver *p_drv)
47
47
{
48
 
        struct pcmcia_device_id *did = p_drv->id_table;
 
48
        const struct pcmcia_device_id *did = p_drv->id_table;
49
49
        unsigned int i;
50
50
        u32 hash;
51
51
 
784
784
 
785
785
 
786
786
static inline int pcmcia_devmatch(struct pcmcia_device *dev,
787
 
                                  struct pcmcia_device_id *did)
 
787
                                  const struct pcmcia_device_id *did)
788
788
{
789
789
        if (did->match_flags & PCMCIA_DEV_ID_MATCH_MANF_ID) {
790
790
                if ((!dev->has_manf_id) || (dev->manf_id != did->manf_id))
890
890
{
891
891
        struct pcmcia_device *p_dev = to_pcmcia_dev(dev);
892
892
        struct pcmcia_driver *p_drv = to_pcmcia_drv(drv);
893
 
        struct pcmcia_device_id *did = p_drv->id_table;
 
893
        const struct pcmcia_device_id *did = p_drv->id_table;
894
894
        struct pcmcia_dynid *dynid;
895
895
 
896
896
        /* match dynamic devices first */