mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
scsi/atari: Make more functions static
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Michael Schmitz <schmitzmic@googlemail.com> Cc: James E.J. Bottomley <JBottomley@parallels.com> Cc: linux-scsi@vger.kernel.org
This commit is contained in:
parent
7b54e43a8d
commit
107b5d5302
2 changed files with 7 additions and 11 deletions
|
@ -572,7 +572,7 @@ static void falcon_get_lock(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int __init atari_scsi_detect(struct scsi_host_template *host)
|
static int __init atari_scsi_detect(struct scsi_host_template *host)
|
||||||
{
|
{
|
||||||
static int called = 0;
|
static int called = 0;
|
||||||
struct Scsi_Host *instance;
|
struct Scsi_Host *instance;
|
||||||
|
@ -724,7 +724,7 @@ int __init atari_scsi_detect(struct scsi_host_template *host)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int atari_scsi_release(struct Scsi_Host *sh)
|
static int atari_scsi_release(struct Scsi_Host *sh)
|
||||||
{
|
{
|
||||||
if (IS_A_TT())
|
if (IS_A_TT())
|
||||||
free_irq(IRQ_TT_MFP_SCSI, sh);
|
free_irq(IRQ_TT_MFP_SCSI, sh);
|
||||||
|
@ -788,7 +788,7 @@ static int __init atari_scsi_setup(char *str)
|
||||||
__setup("atascsi=", atari_scsi_setup);
|
__setup("atascsi=", atari_scsi_setup);
|
||||||
#endif /* !MODULE */
|
#endif /* !MODULE */
|
||||||
|
|
||||||
int atari_scsi_bus_reset(Scsi_Cmnd *cmd)
|
static int atari_scsi_bus_reset(Scsi_Cmnd *cmd)
|
||||||
{
|
{
|
||||||
int rv;
|
int rv;
|
||||||
struct NCR5380_hostdata *hostdata =
|
struct NCR5380_hostdata *hostdata =
|
||||||
|
@ -861,7 +861,7 @@ static void __init atari_scsi_reset_boot(void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
const char *atari_scsi_info(struct Scsi_Host *host)
|
static const char *atari_scsi_info(struct Scsi_Host *host)
|
||||||
{
|
{
|
||||||
/* atari_scsi_detect() is verbose enough... */
|
/* atari_scsi_detect() is verbose enough... */
|
||||||
static const char string[] = "Atari native SCSI";
|
static const char string[] = "Atari native SCSI";
|
||||||
|
@ -871,8 +871,9 @@ const char *atari_scsi_info(struct Scsi_Host *host)
|
||||||
|
|
||||||
#if defined(REAL_DMA)
|
#if defined(REAL_DMA)
|
||||||
|
|
||||||
unsigned long atari_scsi_dma_setup(struct Scsi_Host *instance, void *data,
|
static unsigned long atari_scsi_dma_setup(struct Scsi_Host *instance,
|
||||||
unsigned long count, int dir)
|
void *data, unsigned long count,
|
||||||
|
int dir)
|
||||||
{
|
{
|
||||||
unsigned long addr = virt_to_phys(data);
|
unsigned long addr = virt_to_phys(data);
|
||||||
|
|
||||||
|
|
|
@ -18,11 +18,6 @@
|
||||||
/* (I_HAVE_OVERRUNS stuff removed) */
|
/* (I_HAVE_OVERRUNS stuff removed) */
|
||||||
|
|
||||||
#ifndef ASM
|
#ifndef ASM
|
||||||
int atari_scsi_detect (struct scsi_host_template *);
|
|
||||||
const char *atari_scsi_info (struct Scsi_Host *);
|
|
||||||
int atari_scsi_reset (Scsi_Cmnd *, unsigned int);
|
|
||||||
int atari_scsi_release (struct Scsi_Host *);
|
|
||||||
|
|
||||||
/* The values for CMD_PER_LUN and CAN_QUEUE are somehow arbitrary. Higher
|
/* The values for CMD_PER_LUN and CAN_QUEUE are somehow arbitrary. Higher
|
||||||
* values should work, too; try it! (but cmd_per_lun costs memory!) */
|
* values should work, too; try it! (but cmd_per_lun costs memory!) */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue