2 * Copyright (C) 2016 CNEX Labs. All rights reserved.
3 * Initial release: Matias Bjorling <matias@cnexlabs.com>
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License version
7 * 2 as published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; see the file COPYING. If not, write to
16 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139,
24 #include <linux/lightnvm.h>
27 int __must_check
nvm_sysfs_register_dev(struct nvm_dev
*);
28 void nvm_sysfs_unregister_dev(struct nvm_dev
*);
29 int nvm_sysfs_register(void);
30 void nvm_sysfs_unregister(void);
33 void nvm_free(struct nvm_dev
*);