patch-2.3.40 linux/drivers/pcmcia/pci_socket.c
Next file: linux/drivers/pcmcia/pci_socket.h
Previous file: linux/drivers/pcmcia/i82365.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Tue Jan 11 16:01:49 2000
- Orig file:
v2.3.39/linux/drivers/pcmcia/pci_socket.c
- Orig date:
Tue Jan 11 22:31:40 2000
diff -u --recursive --new-file v2.3.39/linux/drivers/pcmcia/pci_socket.c linux/drivers/pcmcia/pci_socket.c
@@ -70,9 +70,8 @@
{
pci_socket_t *socket = pci_socket_array + sock;
- if (socket->op && socket->op->inquire)
- return socket->op->inquire(socket, cap);
- return -EINVAL;
+ *cap = socket->cap;
+ return 0;
}
static int pci_get_status(unsigned int sock, unsigned int *value)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)