summaryrefslogtreecommitdiff
path: root/include/linux/isapnp.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-10-08 09:53:03 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-10-08 19:00:08 +0300
commit2ef0342530b0f487a65b5f6c94c85dce5f9b53b5 (patch)
treee1f5efee3b34f2fab935cfd941a43de733d066ba /include/linux/isapnp.h
parent38db63baf83a4ab89335c7c6fb210ecac74fa781 (diff)
downloadlinux-2ef0342530b0f487a65b5f6c94c85dce5f9b53b5.tar.xz
PNP: remove the now unused pnp_find_card() function
All user of the pnp_find_card() compat wrapper are gone, so remove the function as well. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/isapnp.h')
-rw-r--r--include/linux/isapnp.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/isapnp.h b/include/linux/isapnp.h
index 11edb2109a68..dba18c95844b 100644
--- a/include/linux/isapnp.h
+++ b/include/linux/isapnp.h
@@ -75,9 +75,6 @@ static inline int isapnp_proc_done(void) { return 0; }
#endif
/* compat */
-struct pnp_card *pnp_find_card(unsigned short vendor,
- unsigned short device,
- struct pnp_card *from);
struct pnp_dev *pnp_find_dev(struct pnp_card *card,
unsigned short vendor,
unsigned short function,
@@ -92,9 +89,6 @@ static inline int isapnp_cfg_end(void) { return -ENODEV; }
static inline unsigned char isapnp_read_byte(unsigned char idx) { return 0xff; }
static inline void isapnp_write_byte(unsigned char idx, unsigned char val) { ; }
-static inline struct pnp_card *pnp_find_card(unsigned short vendor,
- unsigned short device,
- struct pnp_card *from) { return NULL; }
static inline struct pnp_dev *pnp_find_dev(struct pnp_card *card,
unsigned short vendor,
unsigned short function,