.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * ISA Plug & Play support |
---|
3 | 4 | * Copyright (c) by Jaroslav Kysela <perex@suse.cz> |
---|
4 | | - * |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the GNU General Public License as published by |
---|
8 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
9 | | - * (at your option) any later version. |
---|
10 | | - * |
---|
11 | | - * This program is distributed in the hope that it will be useful, |
---|
12 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | | - * GNU General Public License for more details. |
---|
15 | | - * |
---|
16 | | - * You should have received a copy of the GNU General Public License |
---|
17 | | - * along with this program; if not, write to the Free Software |
---|
18 | | - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
---|
19 | | - * |
---|
20 | 5 | */ |
---|
21 | 6 | |
---|
22 | 7 | #ifndef LINUX_ISAPNP_H |
---|
.. | .. |
---|
90 | 75 | #endif |
---|
91 | 76 | |
---|
92 | 77 | /* compat */ |
---|
93 | | -struct pnp_card *pnp_find_card(unsigned short vendor, |
---|
94 | | - unsigned short device, |
---|
95 | | - struct pnp_card *from); |
---|
96 | 78 | struct pnp_dev *pnp_find_dev(struct pnp_card *card, |
---|
97 | 79 | unsigned short vendor, |
---|
98 | 80 | unsigned short function, |
---|
.. | .. |
---|
107 | 89 | static inline unsigned char isapnp_read_byte(unsigned char idx) { return 0xff; } |
---|
108 | 90 | static inline void isapnp_write_byte(unsigned char idx, unsigned char val) { ; } |
---|
109 | 91 | |
---|
110 | | -static inline struct pnp_card *pnp_find_card(unsigned short vendor, |
---|
111 | | - unsigned short device, |
---|
112 | | - struct pnp_card *from) { return NULL; } |
---|
113 | 92 | static inline struct pnp_dev *pnp_find_dev(struct pnp_card *card, |
---|
114 | 93 | unsigned short vendor, |
---|
115 | 94 | unsigned short function, |
---|