diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-08-12 15:43:59 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-16 12:24:48 -0400 |
commit | 9cf899d12583082c77a0fcc758f3179b440518ee (patch) | |
tree | c37c627a9a1329d478c2f9d002509be99d20f0ab /drivers/firmware/iscsi_ibft.c | |
parent | f1282c844e86db5a041afa41335b5f9eea6cec0c (diff) |
drivers/firmware/iscsi_ibft.c: make 3 functions static
This patch makes the following needlessly global functions static:
- ibft_attr_show_initiator()
- ibft_attr_show_nic()
- ibft_attr_show_target()
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Konrad Rzeszutek <ketuzsezr@darnok.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/firmware/iscsi_ibft.c')
-rw-r--r-- | drivers/firmware/iscsi_ibft.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/firmware/iscsi_ibft.c b/drivers/firmware/iscsi_ibft.c index b91ef63126ed..deb154aa47c4 100644 --- a/drivers/firmware/iscsi_ibft.c +++ b/drivers/firmware/iscsi_ibft.c | |||
@@ -334,9 +334,9 @@ static void ibft_release(struct kobject *kobj) | |||
334 | /* | 334 | /* |
335 | * Routines for parsing the iBFT data to be human readable. | 335 | * Routines for parsing the iBFT data to be human readable. |
336 | */ | 336 | */ |
337 | ssize_t ibft_attr_show_initiator(struct ibft_kobject *entry, | 337 | static ssize_t ibft_attr_show_initiator(struct ibft_kobject *entry, |
338 | struct ibft_attribute *attr, | 338 | struct ibft_attribute *attr, |
339 | char *buf) | 339 | char *buf) |
340 | { | 340 | { |
341 | struct ibft_initiator *initiator = entry->initiator; | 341 | struct ibft_initiator *initiator = entry->initiator; |
342 | void *ibft_loc = entry->header; | 342 | void *ibft_loc = entry->header; |
@@ -376,9 +376,9 @@ ssize_t ibft_attr_show_initiator(struct ibft_kobject *entry, | |||
376 | return str - buf; | 376 | return str - buf; |
377 | } | 377 | } |
378 | 378 | ||
379 | ssize_t ibft_attr_show_nic(struct ibft_kobject *entry, | 379 | static ssize_t ibft_attr_show_nic(struct ibft_kobject *entry, |
380 | struct ibft_attribute *attr, | 380 | struct ibft_attribute *attr, |
381 | char *buf) | 381 | char *buf) |
382 | { | 382 | { |
383 | struct ibft_nic *nic = entry->nic; | 383 | struct ibft_nic *nic = entry->nic; |
384 | void *ibft_loc = entry->header; | 384 | void *ibft_loc = entry->header; |
@@ -440,9 +440,9 @@ ssize_t ibft_attr_show_nic(struct ibft_kobject *entry, | |||
440 | return str - buf; | 440 | return str - buf; |
441 | }; | 441 | }; |
442 | 442 | ||
443 | ssize_t ibft_attr_show_target(struct ibft_kobject *entry, | 443 | static ssize_t ibft_attr_show_target(struct ibft_kobject *entry, |
444 | struct ibft_attribute *attr, | 444 | struct ibft_attribute *attr, |
445 | char *buf) | 445 | char *buf) |
446 | { | 446 | { |
447 | struct ibft_tgt *tgt = entry->tgt; | 447 | struct ibft_tgt *tgt = entry->tgt; |
448 | void *ibft_loc = entry->header; | 448 | void *ibft_loc = entry->header; |