aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2006-07-03 12:02:31 -0400
committerBen Collins <bcollins@ubuntu.com>2006-07-03 12:02:31 -0400
commitd8831d5554c2f295a6746e9d3b4cbd8bb13a540f (patch)
tree55c407be6dba1f3be07be382085732a3df7257b6 /drivers/ieee1394
parentd83e7d8e7e9f41a9d0e68aaf24ec4e785dd071bb (diff)
[PATCH] ieee1394: clean up declarations of hpsb_*_config_rom
hpsb_update_config_rom() is defined in csr.c, not hosts.c. hpsb_get_config_rom() does not exist. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Diffstat (limited to 'drivers/ieee1394')
-rw-r--r--drivers/ieee1394/csr.h5
-rw-r--r--drivers/ieee1394/hosts.h7
2 files changed, 5 insertions, 7 deletions
diff --git a/drivers/ieee1394/csr.h b/drivers/ieee1394/csr.h
index 2bc080f76510..f11546550d84 100644
--- a/drivers/ieee1394/csr.h
+++ b/drivers/ieee1394/csr.h
@@ -91,4 +91,9 @@ extern struct csr1212_bus_ops csr_bus_ops;
91int init_csr(void); 91int init_csr(void);
92void cleanup_csr(void); 92void cleanup_csr(void);
93 93
94/* hpsb_update_config_rom() is deprecated */
95struct hpsb_host;
96int hpsb_update_config_rom(struct hpsb_host *host, const quadlet_t *new_rom,
97 size_t size, unsigned char rom_version);
98
94#endif /* _IEEE1394_CSR_H */ 99#endif /* _IEEE1394_CSR_H */
diff --git a/drivers/ieee1394/hosts.h b/drivers/ieee1394/hosts.h
index b911e2af99a3..69a7c9ff5ed7 100644
--- a/drivers/ieee1394/hosts.h
+++ b/drivers/ieee1394/hosts.h
@@ -205,13 +205,6 @@ struct hpsb_host *hpsb_alloc_host(struct hpsb_host_driver *drv, size_t extra,
205int hpsb_add_host(struct hpsb_host *host); 205int hpsb_add_host(struct hpsb_host *host);
206void hpsb_remove_host(struct hpsb_host *h); 206void hpsb_remove_host(struct hpsb_host *h);
207 207
208/* The following 2 functions are deprecated and will be removed when the
209 * raw1394/libraw1394 update is complete. */
210int hpsb_update_config_rom(struct hpsb_host *host,
211 const quadlet_t *new_rom, size_t size, unsigned char rom_version);
212int hpsb_get_config_rom(struct hpsb_host *host, quadlet_t *buffer,
213 size_t buffersize, size_t *rom_size, unsigned char *rom_version);
214
215/* Updates the configuration rom image of a host. rom_version must be the 208/* Updates the configuration rom image of a host. rom_version must be the
216 * current version, otherwise it will fail with return value -1. If this 209 * current version, otherwise it will fail with return value -1. If this
217 * host does not support config-rom-update, it will return -EINVAL. 210 * host does not support config-rom-update, it will return -EINVAL.