Skip to content

Commit

Permalink
scsi: cxlflash: Add include guards to backend.h
Browse files Browse the repository at this point in the history
The new header file, backend.h, that was recently added is missing the
include guards. This commit adds the guards.

Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
Acked-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
  • Loading branch information
Uma Krishnan authored and Martin K. Petersen committed May 18, 2018
1 parent e63a8d8 commit 5e12397
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/scsi/cxlflash/backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
* 2 of the License, or (at your option) any later version.
*/

#ifndef _CXLFLASH_BACKEND_H
#define _CXLFLASH_BACKEND_H

extern const struct cxlflash_backend_ops cxlflash_cxl_ops;
extern const struct cxlflash_backend_ops cxlflash_ocxl_ops;

Expand Down Expand Up @@ -45,3 +48,5 @@ struct cxlflash_backend_ops {
int (*fd_mmap)(struct file *file, struct vm_area_struct *vm);
int (*fd_release)(struct inode *inode, struct file *file);
};

#endif /* _CXLFLASH_BACKEND_H */

0 comments on commit 5e12397

Please sign in to comment.