diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2008-04-24 22:34:49 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-27 13:20:00 -0400 |
commit | d1d7b19d433188e94fc87cc7ca66363cd77a0bba (patch) | |
tree | ca3474a25f2ca420e0004e47fd1a1b9d0cf5e057 /drivers/scsi/aic7xxx/aic79xx_osm.c | |
parent | d10c2e4627b0dda286bcd1c77720eb5fe4a04f93 (diff) |
[SCSI] aic7xxx: add static
This patch adds static (and sometimes const) keywords where appropriate.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Acked-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic79xx_osm.c')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx_osm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.c b/drivers/scsi/aic7xxx/aic79xx_osm.c index 6c5287722465..ea0bbda47324 100644 --- a/drivers/scsi/aic7xxx/aic79xx_osm.c +++ b/drivers/scsi/aic7xxx/aic79xx_osm.c | |||
@@ -388,7 +388,6 @@ ahd_delay(long usec) | |||
388 | 388 | ||
389 | /***************************** Low Level I/O **********************************/ | 389 | /***************************** Low Level I/O **********************************/ |
390 | uint8_t ahd_inb(struct ahd_softc * ahd, long port); | 390 | uint8_t ahd_inb(struct ahd_softc * ahd, long port); |
391 | uint16_t ahd_inw_atomic(struct ahd_softc * ahd, long port); | ||
392 | void ahd_outb(struct ahd_softc * ahd, long port, uint8_t val); | 391 | void ahd_outb(struct ahd_softc * ahd, long port, uint8_t val); |
393 | void ahd_outw_atomic(struct ahd_softc * ahd, | 392 | void ahd_outw_atomic(struct ahd_softc * ahd, |
394 | long port, uint16_t val); | 393 | long port, uint16_t val); |
@@ -411,7 +410,8 @@ ahd_inb(struct ahd_softc * ahd, long port) | |||
411 | return (x); | 410 | return (x); |
412 | } | 411 | } |
413 | 412 | ||
414 | uint16_t | 413 | #if 0 /* unused */ |
414 | static uint16_t | ||
415 | ahd_inw_atomic(struct ahd_softc * ahd, long port) | 415 | ahd_inw_atomic(struct ahd_softc * ahd, long port) |
416 | { | 416 | { |
417 | uint8_t x; | 417 | uint8_t x; |
@@ -424,6 +424,7 @@ ahd_inw_atomic(struct ahd_softc * ahd, long port) | |||
424 | mb(); | 424 | mb(); |
425 | return (x); | 425 | return (x); |
426 | } | 426 | } |
427 | #endif | ||
427 | 428 | ||
428 | void | 429 | void |
429 | ahd_outb(struct ahd_softc * ahd, long port, uint8_t val) | 430 | ahd_outb(struct ahd_softc * ahd, long port, uint8_t val) |