mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-21 22:56:32 +00:00
qla2x00t-32gbit: Only include <linux/bsg-lib.h> if available
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8135 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -9,9 +9,10 @@
|
||||
#include <linux/kthread.h>
|
||||
#include <linux/vmalloc.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/bsg-lib.h>
|
||||
|
||||
#ifndef NEW_LIBFC_API
|
||||
#ifdef NEW_LIBFC_API
|
||||
#include <linux/bsg-lib.h>
|
||||
#else
|
||||
static inline struct Scsi_Host *fc_bsg_to_shost(struct fc_bsg_job *job)
|
||||
{
|
||||
return job->shost;
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include <linux/pci.h>
|
||||
#include <linux/ratelimit.h>
|
||||
#include <linux/vmalloc.h>
|
||||
#include <linux/bsg-lib.h>
|
||||
#include <scsi/scsi_tcq.h>
|
||||
#include <linux/utsname.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user