Re: [patch] megaraid: fix CONFIG_PROC_FS compile errors

2007-04-30 Thread Randy Dunlap
Andrew Morton wrote: On Mon, 30 Apr 2007 08:44:14 -0700 Randy Dunlap <[EMAIL PROTECTED]> wrote: On Mon, 30 Apr 2007 07:35:00 -0700 (PDT) David Rientjes wrote: Only declare mega_proc_dir_entry() in CONFIG_PROC_FS. We should call mega_create_proc_entry() only in this configuration so make sure

Re: [patch] megaraid: fix CONFIG_PROC_FS compile errors

2007-04-30 Thread Andrew Morton
On Mon, 30 Apr 2007 08:44:14 -0700 Randy Dunlap <[EMAIL PROTECTED]> wrote: > On Mon, 30 Apr 2007 07:35:00 -0700 (PDT) David Rientjes wrote: > > > Only declare mega_proc_dir_entry() in CONFIG_PROC_FS. We should call > > mega_create_proc_entry() only in this configuration so make sure it's > > de

Re: [patch] megaraid: fix CONFIG_PROC_FS compile errors

2007-04-30 Thread Randy Dunlap
On Mon, 30 Apr 2007 07:35:00 -0700 (PDT) David Rientjes wrote: > Only declare mega_proc_dir_entry() in CONFIG_PROC_FS. We should call > mega_create_proc_entry() only in this configuration so make sure it's defined > if we call it. > > Only define mega_adapinq() in CONFIG_PROC_FS. mega_internal_

[patch] megaraid: fix CONFIG_PROC_FS compile errors

2007-04-30 Thread David Rientjes
Only declare mega_proc_dir_entry() in CONFIG_PROC_FS. We should call mega_create_proc_entry() only in this configuration so make sure it's defined if we call it. Only define mega_adapinq() in CONFIG_PROC_FS. mega_internal_dev_inquiry() and mega_print_inquiry() were never declared without CONFIG_