[SCSI] megaraid: fix warnings when CONFIG_PROC_FS=n
authorwalter harms <wharms@bfs.de>
Thu, 26 Apr 2007 07:35:09 +0000 (00:35 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 8 May 2007 16:15:08 +0000 (11:15 -0500)
commit84a3c97b93ec5b4509637801a703693bb710cd4c
tree53208e3356a9364613c551ad91b54cf9eca7f23f
parent39580f2c15485ee7f40923af731b3052f70cb890
[SCSI] megaraid: fix warnings when CONFIG_PROC_FS=n

drivers/scsi/megaraid.c: In function 'megaraid_probe_one':
drivers/scsi/megaraid.c:4893: warning: implicit declaration of function 'mega_create_proc_entry'
drivers/scsi/megaraid.c: In function 'megaraid_remove_one':
drivers/scsi/megaraid.c:4968: warning: unused variable 'buf'

Fix by adding #defines

Signed-off-by: walter harms <wharms@bfs.de>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/megaraid.c
drivers/scsi/megaraid.h