summaryrefslogtreecommitdiff
path: root/drivers/scsi/aic7xxx/aic7xxx.h
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.com>2015-10-14 11:35:23 +0300
committerMichal Marek <mmarek@suse.com>2016-01-06 00:10:35 +0300
commite594a178123eb77a3238a73ca35fabc98dec3599 (patch)
tree0a290be08e280b5b5cfe48038de7a0c5b8608d24 /drivers/scsi/aic7xxx/aic7xxx.h
parentd2fb5aeda926307e4d95e3e824146aee9943de59 (diff)
downloadlinux-e594a178123eb77a3238a73ca35fabc98dec3599.tar.xz
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/aic7xxx.h')
-rw-r--r--drivers/scsi/aic7xxx/aic7xxx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx.h b/drivers/scsi/aic7xxx/aic7xxx.h
index f695774645c1..4ce4e903a759 100644
--- a/drivers/scsi/aic7xxx/aic7xxx.h
+++ b/drivers/scsi/aic7xxx/aic7xxx.h
@@ -916,7 +916,7 @@ struct ahc_softc {
/*
* SCBs that have been sent to the controller
*/
- LIST_HEAD(, scb) pending_scbs;
+ BSD_LIST_HEAD(, scb) pending_scbs;
/*
* Counting lock for deferring the release of additional