libnvdimm, nfit: initial libnvdimm infrastructure and NFIT support
[deliverable/linux.git] / drivers / nvdimm / nd-core.h
1 /*
2 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of version 2 of the GNU General Public License as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * General Public License for more details.
12 */
13 #ifndef __ND_CORE_H__
14 #define __ND_CORE_H__
15 #include <linux/libnvdimm.h>
16 #include <linux/device.h>
17
18 struct nvdimm_bus {
19 struct nvdimm_bus_descriptor *nd_desc;
20 struct device dev;
21 int id;
22 };
23 #endif /* __ND_CORE_H__ */
This page took 0.032211 seconds and 5 git commands to generate.