summaryrefslogtreecommitdiffstats
path: root/drivers/dax/dax.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dax/dax.h')
-rw-r--r--drivers/dax/dax.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/dax/dax.h b/drivers/dax/dax.h
new file mode 100644
index 000000000..f9e5feea7
--- /dev/null
+++ b/drivers/dax/dax.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright(c) 2016 - 2017 Intel Corporation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ */
+#ifndef __DAX_H__
+#define __DAX_H__
+struct dax_device;
+struct dax_device *inode_dax(struct inode *inode);
+struct inode *dax_inode(struct dax_device *dax_dev);
+#endif /* __DAX_H__ */