treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / pcmcia / i82092aa.h
blob0f851acab7e526bf52a4a67e4c85d9b427f3216a
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _INCLUDE_GUARD_i82092aa_H_
3 #define _INCLUDE_GUARD_i82092aa_H_
5 #include <linux/interrupt.h>
7 /* prototypes */
9 static int i82092aa_pci_probe(struct pci_dev *dev, const struct pci_device_id *id);
10 static void i82092aa_pci_remove(struct pci_dev *dev);
11 static int card_present(int socketno);
12 static irqreturn_t i82092aa_interrupt(int irq, void *dev);
17 static int i82092aa_get_status(struct pcmcia_socket *socket, u_int *value);
18 static int i82092aa_set_socket(struct pcmcia_socket *socket, socket_state_t *state);
19 static int i82092aa_set_io_map(struct pcmcia_socket *socket, struct pccard_io_map *io);
20 static int i82092aa_set_mem_map(struct pcmcia_socket *socket, struct pccard_mem_map *mem);
21 static int i82092aa_init(struct pcmcia_socket *socket);
23 #endif