lkml.org 
[lkml]   [2001]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.9-ac17 Adaptec AIC7XXX problems (new driver, old one works fine)
> In article <20010929162224.E9327@humilis> you wrote:
> > Hi Justin, Alan,
>
> > aic7xxx_old.c:11965: parse error before string constant
> > aic7xxx_old.c:11965: warning: type defaults to `int' in declaration of `MODULE_LICENSE'
> > aic7xxx_old.c:11965: warning: function declaration isn't a prototype
> > aic7xxx_old.c:11965: warning: data definition has no type or storage class
>
>
> Yet another driver with bogus #ifdef around the module.h include.. sigh

You mean linux/drivers/scsi/aic7xxx_old.c ? The old one is the one that
fails to compile with -ac17


> --- linux/drivers/scsi/aic7xxx/aic7xxx_linux.c~ Fri Sep 28 13:02:13 2001
> +++ linux/drivers/scsi/aic7xxx/aic7xxx_linux.c Sat Sep 29 15:41:52 2001
> @@ -120,9 +120,7 @@
> * under normal conditions.
> */
>
> -#if defined(MODULE)
> #include <linux/module.h>
> -#endif
>
> #include "aic7xxx_osm.h"
> #include "aic7xxx_inline.h"
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.387 / U:2.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site