hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/linux/isapnp.h
....@@ -1,22 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * ISA Plug & Play support
34 * 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
- *
205 */
216
227 #ifndef LINUX_ISAPNP_H
....@@ -90,9 +75,6 @@
9075 #endif
9176
9277 /* compat */
93
-struct pnp_card *pnp_find_card(unsigned short vendor,
94
- unsigned short device,
95
- struct pnp_card *from);
9678 struct pnp_dev *pnp_find_dev(struct pnp_card *card,
9779 unsigned short vendor,
9880 unsigned short function,
....@@ -107,9 +89,6 @@
10789 static inline unsigned char isapnp_read_byte(unsigned char idx) { return 0xff; }
10890 static inline void isapnp_write_byte(unsigned char idx, unsigned char val) { ; }
10991
110
-static inline struct pnp_card *pnp_find_card(unsigned short vendor,
111
- unsigned short device,
112
- struct pnp_card *from) { return NULL; }
11392 static inline struct pnp_dev *pnp_find_dev(struct pnp_card *card,
11493 unsigned short vendor,
11594 unsigned short function,