summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic7xxx/aic79xx.h
diff options
context:
space:
mode:
authorMichal Marek2015-10-14 10:35:23 +0200
committerMichal Marek2016-01-05 22:10:35 +0100
commite594a178123eb77a3238a73ca35fabc98dec3599 (patch)
tree0a290be08e280b5b5cfe48038de7a0c5b8608d24 /drivers/scsi/aic7xxx/aic79xx.h
parenttags: Treat header files as C code (diff)
downloadkernel-qcow2-linux-e594a178123eb77a3238a73ca35fabc98dec3599.tar.gz
kernel-qcow2-linux-e594a178123eb77a3238a73ca35fabc98dec3599.tar.xz
kernel-qcow2-linux-e594a178123eb77a3238a73ca35fabc98dec3599.zip
aic7xxx: Avoid name collision with <linux/list.h>
Rename the local definition of LIST_HEAD to BSD_LIST_HEAD. This fixes a ctags error if we apply the C rules to header files as well: ctags: Warning: drivers/scsi/aic7xxx/aic79xx.h:1072: null expansion of name pattern "\3" ctags: Warning: drivers/scsi/aic7xxx/aic7xxx.h:919: null expansion of name pattern "\3" Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic79xx.h')
-rw-r--r--drivers/scsi/aic7xxx/aic79xx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx.h b/drivers/scsi/aic7xxx/aic79xx.h
index df2e0e5367d2..d47b527b25dd 100644
--- a/drivers/scsi/aic7xxx/aic79xx.h
+++ b/drivers/scsi/aic7xxx/aic79xx.h
@@ -624,7 +624,7 @@ struct scb {
};
TAILQ_HEAD(scb_tailq, scb);
-LIST_HEAD(scb_list, scb);
+BSD_LIST_HEAD(scb_list, scb);
struct scb_data {
/*
@@ -1069,7 +1069,7 @@ struct ahd_softc {
/*
* SCBs that have been sent to the controller
*/
- LIST_HEAD(, scb) pending_scbs;
+ BSD_LIST_HEAD(, scb) pending_scbs;
/*
* Current register window mode information.