pcmcia: synclink_cs: fix prototype for mgslpc_ioctl()
authorAxel Lin <axel.lin@gmail.com>
Tue, 1 Mar 2011 05:12:47 +0000 (13:12 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 1 Mar 2011 21:11:01 +0000 (16:11 -0500)
commit751b3840d216f1ecd3b91ff5251bf7703b690cd8
tree2d35b503c65f148d54a880e07e33d8ed3fab76d7
parentc976cc3aa99e813084fc4bd295c9f7b706738b48
pcmcia: synclink_cs: fix prototype for mgslpc_ioctl()

The ioctl file pointer was removed in commit 6caa76
"tty: now phase out the ioctl file pointer for good".

Thus fix the prototype for mgslpc_ioctl() and eliminate below warning:
  CC [M]  drivers/char/pcmcia/synclink_cs.o
drivers/char/pcmcia/synclink_cs.c:2787: warning: initialization from incompatible pointer type

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/pcmcia/synclink_cs.c