dimm.c (4d88a97aa9e8cfa6460aab119c5da60ad2267423) dimm.c (3d88002e4a7bd40f355550284c6cd140e6fe29dc)
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

--- 70 unchanged lines hidden (view full) ---

79 .type = ND_DRIVER_DIMM,
80};
81
82int __init nvdimm_init(void)
83{
84 return nd_driver_register(&nvdimm_driver);
85}
86
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

--- 70 unchanged lines hidden (view full) ---

79 .type = ND_DRIVER_DIMM,
80};
81
82int __init nvdimm_init(void)
83{
84 return nd_driver_register(&nvdimm_driver);
85}
86
87void __exit nvdimm_exit(void)
87void nvdimm_exit(void)
88{
89 driver_unregister(&nvdimm_driver.drv);
90}
91
92MODULE_ALIAS_ND_DEVICE(ND_DEVICE_DIMM);
88{
89 driver_unregister(&nvdimm_driver.drv);
90}
91
92MODULE_ALIAS_ND_DEVICE(ND_DEVICE_DIMM);