Commit 908f8449 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] fix advansys.c if !CONFIG_PROC_FS

From: Adrian Bunk <bunk@fs.tum.de>

The patch below fixes a compile error in drivers/scsi/advansys.c if
!CONFIG_PROC_FS.
parent f0265492
...@@ -6199,7 +6199,9 @@ advansys_setup(char *str, int *ints) ...@@ -6199,7 +6199,9 @@ advansys_setup(char *str, int *ints)
static Scsi_Host_Template driver_template = { static Scsi_Host_Template driver_template = {
.proc_name = "advansys", .proc_name = "advansys",
#ifdef CONFIG_PROC_FS
.proc_info = advansys_proc_info, .proc_info = advansys_proc_info,
#endif
.name = "advansys", .name = "advansys",
.detect = advansys_detect, .detect = advansys_detect,
.release = advansys_release, .release = advansys_release,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment