Commit | Line | Data |
---|---|---|
34e49164 C |
1 | typedef struct bluecard_info_t { |
2 | struct pcmcia_device *p_dev; | |
3 | } foo; | |
4 | ||
5 | static void should_work(u_long arg) | |
6 | { | |
7 | foo *info = (struct bluecard_info_t *)arg; | |
8 | unsigned int iobase = info->p_dev->io.BasePort1; | |
9 | } | |
10 | ||
11 | static void does_work(u_long arg) | |
12 | { | |
13 | struct bluecard_info_t *info = (struct bluecard_info_t *)arg; | |
14 | unsigned int iobase = info->p_dev->io.BasePort1; | |
15 | } |