mark satapmp_rescan() static, it's not to be used outside satapmp_subr.c
This commit is contained in:
parent
ed35b5e94b
commit
f110dae06f
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: satapmp_subr.c,v 1.13 2017/10/07 16:05:32 jdolecek Exp $ */
|
||||
/* $NetBSD: satapmp_subr.c,v 1.14 2018/07/29 14:11:30 jdolecek Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2012 Manuel Bouyer. All rights reserved.
|
||||
|
@ -25,7 +25,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: satapmp_subr.c,v 1.13 2017/10/07 16:05:32 jdolecek Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: satapmp_subr.c,v 1.14 2018/07/29 14:11:30 jdolecek Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -239,7 +239,7 @@ satapmp_reset_device_port(struct ata_channel *chp, int port,
|
|||
return(sstatus & SStatus_DET_mask);
|
||||
}
|
||||
|
||||
void
|
||||
static void __noinline
|
||||
satapmp_rescan(struct ata_channel *chp, struct ata_xfer *xfer)
|
||||
{
|
||||
int i;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: satapmpvar.h,v 1.4 2017/10/07 16:05:32 jdolecek Exp $ */
|
||||
/* $NetBSD: satapmpvar.h,v 1.5 2018/07/29 14:11:30 jdolecek Exp $ */
|
||||
|
||||
|
||||
/*
|
||||
|
@ -29,7 +29,6 @@
|
|||
#define _DEV_ATA_SATAPMPVAR_H_
|
||||
|
||||
void satapmp_attach(struct ata_channel *);
|
||||
void satapmp_rescan(struct ata_channel *, struct ata_xfer *);
|
||||
|
||||
#endif /* _DEV_ATA_SATAPMPVAR_H_ */
|
||||
|
||||
|
|
Loading…
Reference in New Issue