diff options
author | Jesper Juhl <juhl@dif.dk> | 2005-07-27 14:46:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:26:20 -0400 |
commit | 77933d7276ee8fa0e2947641941a6f7a100a327b (patch) | |
tree | e3a42724642410f5257c794a71b34642092eedd5 /drivers/scsi | |
parent | 03e259a9cdbd0583e71468293aaa1ccadbdaeff1 (diff) |
[PATCH] clean up inline static vs static inline
`gcc -W' likes to complain if the static keyword is not at the beginning of
the declaration. This patch fixes all remaining occurrences of "inline
static" up with "static inline" in the entire kernel tree (140 occurrences in
47 files).
While making this change I came across a few lines with trailing whitespace
that I also fixed up, I have also added or removed a blank line or two here
and there, but there are no functional changes in the patch.
Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/dc395x.c | 2 | ||||
-rw-r--r-- | drivers/scsi/fdomain.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c index ae13c002f60d..929170dcd3cb 100644 --- a/drivers/scsi/dc395x.c +++ b/drivers/scsi/dc395x.c | |||
@@ -744,7 +744,7 @@ static void free_tag(struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) | |||
744 | 744 | ||
745 | 745 | ||
746 | /* Find cmd in SRB list */ | 746 | /* Find cmd in SRB list */ |
747 | inline static struct ScsiReqBlk *find_cmd(struct scsi_cmnd *cmd, | 747 | static inline struct ScsiReqBlk *find_cmd(struct scsi_cmnd *cmd, |
748 | struct list_head *head) | 748 | struct list_head *head) |
749 | { | 749 | { |
750 | struct ScsiReqBlk *i; | 750 | struct ScsiReqBlk *i; |
diff --git a/drivers/scsi/fdomain.c b/drivers/scsi/fdomain.c index aecf32dd0bde..3b2a5bf5c43e 100644 --- a/drivers/scsi/fdomain.c +++ b/drivers/scsi/fdomain.c | |||
@@ -570,7 +570,7 @@ static void do_pause(unsigned amount) /* Pause for amount*10 milliseconds */ | |||
570 | mdelay(10*amount); | 570 | mdelay(10*amount); |
571 | } | 571 | } |
572 | 572 | ||
573 | inline static void fdomain_make_bus_idle( void ) | 573 | static inline void fdomain_make_bus_idle( void ) |
574 | { | 574 | { |
575 | outb(0, port_base + SCSI_Cntl); | 575 | outb(0, port_base + SCSI_Cntl); |
576 | outb(0, port_base + SCSI_Mode_Cntl); | 576 | outb(0, port_base + SCSI_Mode_Cntl); |