diff options
author | David Howells <dhowells@redhat.com> | 2013-04-10 08:33:21 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-29 15:41:57 -0400 |
commit | c7f079ca30bc719f6f09524fb2119980c4b45d8f (patch) | |
tree | 5d657da7b6943b48bed2bce241673a94b9c57293 /drivers/scsi/megaraid.h | |
parent | 6bbefe86796c07fb8a6d28114f1e3f770586ba05 (diff) |
megaraid: Don't use create_proc_read_entry()
Don't use create_proc_read_entry() as that is deprecated, but rather use
proc_create_data() and seq_file instead.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Neela Syam Kolli <megaraidlinux@lsi.com>
cc: James E.J. Bottomley <JBottomley@parallels.com>
cc: linux-scsi@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/scsi/megaraid.h')
-rw-r--r-- | drivers/scsi/megaraid.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/scsi/megaraid.h b/drivers/scsi/megaraid.h index 4fb2adf6b80d..4d0ce4e78dfd 100644 --- a/drivers/scsi/megaraid.h +++ b/drivers/scsi/megaraid.h | |||
@@ -987,24 +987,7 @@ static int mega_init_scb (adapter_t *); | |||
987 | static int mega_is_bios_enabled (adapter_t *); | 987 | static int mega_is_bios_enabled (adapter_t *); |
988 | 988 | ||
989 | #ifdef CONFIG_PROC_FS | 989 | #ifdef CONFIG_PROC_FS |
990 | static int mega_print_inquiry(char *, char *); | ||
991 | static void mega_create_proc_entry(int, struct proc_dir_entry *); | 990 | static void mega_create_proc_entry(int, struct proc_dir_entry *); |
992 | static int proc_read_config(char *, char **, off_t, int, int *, void *); | ||
993 | static int proc_read_stat(char *, char **, off_t, int, int *, void *); | ||
994 | static int proc_read_mbox(char *, char **, off_t, int, int *, void *); | ||
995 | static int proc_rebuild_rate(char *, char **, off_t, int, int *, void *); | ||
996 | static int proc_battery(char *, char **, off_t, int, int *, void *); | ||
997 | static int proc_pdrv_ch0(char *, char **, off_t, int, int *, void *); | ||
998 | static int proc_pdrv_ch1(char *, char **, off_t, int, int *, void *); | ||
999 | static int proc_pdrv_ch2(char *, char **, off_t, int, int *, void *); | ||
1000 | static int proc_pdrv_ch3(char *, char **, off_t, int, int *, void *); | ||
1001 | static int proc_pdrv(adapter_t *, char *, int); | ||
1002 | static int proc_rdrv_10(char *, char **, off_t, int, int *, void *); | ||
1003 | static int proc_rdrv_20(char *, char **, off_t, int, int *, void *); | ||
1004 | static int proc_rdrv_30(char *, char **, off_t, int, int *, void *); | ||
1005 | static int proc_rdrv_40(char *, char **, off_t, int, int *, void *); | ||
1006 | static int proc_rdrv(adapter_t *, char *, int, int); | ||
1007 | |||
1008 | static int mega_adapinq(adapter_t *, dma_addr_t); | 991 | static int mega_adapinq(adapter_t *, dma_addr_t); |
1009 | static int mega_internal_dev_inquiry(adapter_t *, u8, u8, dma_addr_t); | 992 | static int mega_internal_dev_inquiry(adapter_t *, u8, u8, dma_addr_t); |
1010 | #endif | 993 | #endif |