drivers/scsi/pas16.c: make code static
PATCH 1/1 drivers/scsi/pas16.c: make code static
This patch makes needlessly global code static.
Signed-off-by Adrian Bunk <[email protected]>
---
This patch was already sent on:
- 28 Feb 2005
drivers/scsi/pas16.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/scsi/pas16.c renamed from drivers/scsi/pas16.c.old +3 -3
@@ -137,7 +137,7 @@static int pas16_irq =0 ; -int scsi_irq_translate[] = +static const int scsi_irq_translate[] = {0 ,0 ,1 ,2 ,3 ,4 ,5 ,6 ,0 ,0 ,7 ,8 ,9 ,0 ,10 ,11 };/* The default_irqs array contains values used to set the irq into the
@@ -145,7 +145,7 @@* irq jumpers on the board). The first value in the array will be * assigned to logical board 0, the next to board 1, etc. */ -int default_irqs[]__initdata = +static int default_irqs[]__initdata = {PAS16_DEFAULT_BOARD_1_IRQ ,PAS16_DEFAULT_BOARD_2_IRQ ,PAS16_DEFAULT_BOARD_3_IRQ ,
@@ -177,7 +177,7 @@#define NO_BASES (sizeof (bases) / sizeof (struct base)) -unsigned short pas16_offset[8 ] = +static const unsigned short pas16_offset[8 ] = {0x1c00 ,/* OUTPUT_DATA_REG */ 0x1c01 ,/* INITIATOR_COMMAND_REG */