diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-06-19 14:12:34 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-06-24 09:33:42 -0400 |
commit | c5081d5f4775b2a3f858f91151bbf9163e473075 (patch) | |
tree | 8e9e077e8011fd7bf888b491711933f8c90f0cf0 /drivers/pcmcia/pcmcia_ioctl.c | |
parent | c502380170ee93fd1f4028cc1f32efc87fde7376 (diff) |
pcmcia: simplify pccard_validate_cis
As cisinfo_t only contains one unsigned_int, pccard_validate_cis can
be simplified by passing that around directly.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/pcmcia_ioctl.c')
-rw-r--r-- | drivers/pcmcia/pcmcia_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/pcmcia_ioctl.c b/drivers/pcmcia/pcmcia_ioctl.c index 758ece8dc362..1efc74fef148 100644 --- a/drivers/pcmcia/pcmcia_ioctl.c +++ b/drivers/pcmcia/pcmcia_ioctl.c | |||
@@ -735,7 +735,7 @@ static int ds_ioctl(struct inode * inode, struct file * file, | |||
735 | mutex_lock(&s->skt_mutex); | 735 | mutex_lock(&s->skt_mutex); |
736 | pcmcia_validate_mem(s); | 736 | pcmcia_validate_mem(s); |
737 | mutex_unlock(&s->skt_mutex); | 737 | mutex_unlock(&s->skt_mutex); |
738 | ret = pccard_validate_cis(s, BIND_FN_ALL, &buf->cisinfo); | 738 | ret = pccard_validate_cis(s, BIND_FN_ALL, &buf->cisinfo.Chains); |
739 | break; | 739 | break; |
740 | case DS_SUSPEND_CARD: | 740 | case DS_SUSPEND_CARD: |
741 | ret = pcmcia_suspend_card(s); | 741 | ret = pcmcia_suspend_card(s); |