Re: 2.4.9-ac17 Adaptec AIC7XXX problems (new driver, old one works fine)

arjan@fenrus.demon.nl
Sat, 29 Sep 2001 15:43:54 +0100


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

--- 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/