~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/isdn/hisax/teles_cs.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
    Also inspired by ELSA PCMCIA driver 
10
10
    by Klaus Lichtenwalder <Lichtenwalder@ACM.org>
11
11
    
12
 
    Extentions to new hisax_pcmcia by Karsten Keil
 
12
    Extensions to new hisax_pcmcia by Karsten Keil
13
13
 
14
14
    minor changes to be compatible with kernel 2.4.x
15
15
    by Jan.Schubert@GMX.li
111
111
 
112
112
static int __devinit teles_cs_config(struct pcmcia_device *link)
113
113
{
114
 
    local_info_t *dev;
115
114
    int i;
116
115
    IsdnCard_t icard;
117
116
 
118
117
    dev_dbg(&link->dev, "teles_config(0x%p)\n", link);
119
 
    dev = link->priv;
120
118
 
121
119
    i = pcmcia_loop_config(link, teles_cs_configcheck, NULL);
122
120
    if (i != 0)
185
183
}
186
184
 
187
185
 
188
 
static struct pcmcia_device_id teles_ids[] = {
 
186
static const struct pcmcia_device_id teles_ids[] = {
189
187
        PCMCIA_DEVICE_PROD_ID12("TELES", "S0/PC", 0x67b50eae, 0xe9e70119),
190
188
        PCMCIA_DEVICE_NULL,
191
189
};