aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/aic7xxx/aicasm
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2007-10-19 10:32:34 +0200
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-21 11:11:39 -0500
commitfc2adcfd37f6f1c32d246b5b43f83e38233358ae (patch)
tree67a325a5816e73d665de0db58cc9d6e9beb9bc5d /drivers/scsi/aic7xxx/aicasm
parent64624d4f46d5e439906bcd3a99a688c833506124 (diff)
[SCSI] aic7xxx: Fix firmware build
If a prefix is selected for flex, we should be using it everywhere. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aicasm')
-rw-r--r--drivers/scsi/aic7xxx/aicasm/aicasm_macro_scan.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/aic7xxx/aicasm/aicasm_macro_scan.l b/drivers/scsi/aic7xxx/aicasm/aicasm_macro_scan.l
index f06e7035cb3..c0457b8c3b7 100644
--- a/drivers/scsi/aic7xxx/aicasm/aicasm_macro_scan.l
+++ b/drivers/scsi/aic7xxx/aicasm/aicasm_macro_scan.l
@@ -66,6 +66,7 @@ static char string_buf[MAX_STR_CONST];
static char *string_buf_ptr;
static int parren_count;
static char buf[255];
+int mmlineno;
%}
WORD [A-Za-z_][-A-Za-z_0-9]*
@@ -76,7 +77,7 @@ MCARG [^(), \t]+
%%
\n {
- ++yylineno;
+ ++mmlineno;
}
\r ;
<ARGLIST>{SPACE} ;