[PATCH] pcmcia: remove socket register_callback
Remove the register_callback declaration in struct pccard_operations as it is unused. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
parent
e4115805cf
commit
7f316b033b
|
@ -118,7 +118,6 @@ struct pcmcia_socket;
|
||||||
struct pccard_operations {
|
struct pccard_operations {
|
||||||
int (*init)(struct pcmcia_socket *sock);
|
int (*init)(struct pcmcia_socket *sock);
|
||||||
int (*suspend)(struct pcmcia_socket *sock);
|
int (*suspend)(struct pcmcia_socket *sock);
|
||||||
int (*register_callback)(struct pcmcia_socket *sock, void (*handler)(void *, unsigned int), void * info);
|
|
||||||
int (*get_status)(struct pcmcia_socket *sock, u_int *value);
|
int (*get_status)(struct pcmcia_socket *sock, u_int *value);
|
||||||
int (*get_socket)(struct pcmcia_socket *sock, socket_state_t *state);
|
int (*get_socket)(struct pcmcia_socket *sock, socket_state_t *state);
|
||||||
int (*set_socket)(struct pcmcia_socket *sock, socket_state_t *state);
|
int (*set_socket)(struct pcmcia_socket *sock, socket_state_t *state);
|
||||||
|
|
Loading…
Reference in New Issue