summaryrefslogtreecommitdiffstats
path: root/include/scsi/libsrp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi/libsrp.h')
-rw-r--r--include/scsi/libsrp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/scsi/libsrp.h b/include/scsi/libsrp.h
index ba615e4c1d7c..f4105c91af53 100644
--- a/include/scsi/libsrp.h
+++ b/include/scsi/libsrp.h
@@ -2,6 +2,7 @@
#define __LIBSRP_H__
#include <linux/list.h>
+#include <linux/kfifo.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_host.h>
#include <scsi/srp.h>
@@ -21,7 +22,7 @@ struct srp_buf {
struct srp_queue {
void *pool;
void *items;
- struct kfifo *queue;
+ struct kfifo queue;
spinlock_t lock;
};