[2.6 patch] fix advansys.c if !CONFIG_PROC_FS

From: Adrian Bunk (bunk_at_fs.tum.de)
Date: 08/29/03

  • Next message: Nicolas Mailhot: "Re: CONFIG_LOG_BUF_SHIFT hardwired in 2.6.0-test4-bk2 ?"
    Date:	Fri, 29 Aug 2003 20:56:31 +0200
    To: support@connectcom.net
    
    

    The patch below fixes a compile error in drivers/scsi/advansys.c if
    !CONFIG_PROC_FS.

    Please apply
    Adrian

    --- linux-2.6.0-test4-mm1/drivers/scsi/advansys.c.old 2003-08-27 16:14:32.000000000 +0200
    +++ linux-2.6.0-test4-mm1/drivers/scsi/advansys.c 2003-08-27 16:15:54.000000000 +0200
    @@ -6199,7 +6199,9 @@
     
     static Scsi_Host_Template driver_template = {
         .proc_name = "advansys",
    +#ifdef CONFIG_PROC_FS
         .proc_info = advansys_proc_info,
    +#endif
         .name = "advansys",
         .detect = advansys_detect,
         .release = advansys_release,
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Nicolas Mailhot: "Re: CONFIG_LOG_BUF_SHIFT hardwired in 2.6.0-test4-bk2 ?"

    Relevant Pages

    • [PATCH][2.6.7-mm4] perfctr update 1/6: fix linkage error
      ... static void __init do_rdpmc(unsigned pmc, unsigned unused2) ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH] shrink inode when quota is disabled
      ... drop quota array in inode struct if no quota support ... +#ifdef CONFIG_QUOTA ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • [-mm patch] arch/i386/kernel/traps.c: fix SYSFS=n compile
      ... : undefined reference to `last_sysfs_file' ... +#ifdef CONFIG_SYSFS ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Entry points for execution
      ... #ifdef CONFIG_LINUX_JAIL ... Powered by Linare Corporation ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.1-mm1: sound/pci/cmipci.c compile error
      ... > I got the following compile error when trying to compile ... #ifdef SUPPORT_JOYSTICK ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)