staging: most: configfs: use strlcpy
[linux/fpc-iii.git] / drivers / pcmcia / i82092aa.h
blob4586c43c78e2377e1638cca7d55b361d62d82ec1
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 /* Debuging defines */
8 #ifdef NOTRACE
9 #define enter(x) printk("Enter: %s, %s line %i\n",x,__FILE__,__LINE__)
10 #define leave(x) printk("Leave: %s, %s line %i\n",x,__FILE__,__LINE__)
11 #else
12 #define enter(x) do {} while (0)
13 #define leave(x) do {} while (0)
14 #endif
18 /* prototypes */
20 static int i82092aa_pci_probe(struct pci_dev *dev, const struct pci_device_id *id);
21 static void i82092aa_pci_remove(struct pci_dev *dev);
22 static int card_present(int socketno);
23 static irqreturn_t i82092aa_interrupt(int irq, void *dev);
28 static int i82092aa_get_status(struct pcmcia_socket *socket, u_int *value);
29 static int i82092aa_set_socket(struct pcmcia_socket *socket, socket_state_t *state);
30 static int i82092aa_set_io_map(struct pcmcia_socket *socket, struct pccard_io_map *io);
31 static int i82092aa_set_mem_map(struct pcmcia_socket *socket, struct pccard_mem_map *mem);
32 static int i82092aa_init(struct pcmcia_socket *socket);
34 #endif