Resolve LINT linking issue by renaming ida_init() to ida_setup(). The
ida_init() symbol name is now taken for use by the LinuxKPI. Reported by: emaste @ Discussed with: mav @
This commit is contained in:
parent
02dc4f1751
commit
a7f3dd6f72
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299471
@ -193,7 +193,7 @@ ida_alloc_qcbs(struct ida_softc *ida)
|
||||
}
|
||||
|
||||
int
|
||||
ida_init(struct ida_softc *ida)
|
||||
ida_setup(struct ida_softc *ida)
|
||||
{
|
||||
struct ida_controller_info cinfo;
|
||||
device_t child;
|
||||
|
@ -333,7 +333,7 @@ ida_eisa_attach(device_t dev)
|
||||
return (ENOMEM);
|
||||
}
|
||||
|
||||
error = ida_init(ida);
|
||||
error = ida_setup(ida);
|
||||
if (error) {
|
||||
ida_free(ida);
|
||||
return (error);
|
||||
|
@ -294,7 +294,7 @@ ida_pci_attach(device_t dev)
|
||||
return (ENOMEM);
|
||||
}
|
||||
|
||||
error = ida_init(ida);
|
||||
error = ida_setup(ida);
|
||||
if (error) {
|
||||
ida_free(ida);
|
||||
return (error);
|
||||
|
@ -197,7 +197,7 @@ extern int ida_detach(device_t dev);
|
||||
extern struct ida_softc *ida_alloc(device_t dev, struct resource *regs,
|
||||
int regs_type, int regs_id, bus_dma_tag_t parent_dmat);
|
||||
extern void ida_free(struct ida_softc *ida);
|
||||
extern int ida_init(struct ida_softc *ida);
|
||||
extern int ida_setup(struct ida_softc *ida);
|
||||
extern int ida_command(struct ida_softc *ida, int command, void *data,
|
||||
int datasize, int drive, u_int32_t pblkno, int flags);
|
||||
extern void ida_submit_buf(struct ida_softc *ida, struct bio *bp);
|
||||
|
Loading…
Reference in New Issue
Block a user