.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * 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 | 4 | */ |
---|
13 | 5 | #ifndef __LINUX_ND_H__ |
---|
14 | 6 | #define __LINUX_ND_H__ |
---|
.. | .. |
---|
155 | 147 | |
---|
156 | 148 | /** |
---|
157 | 149 | * nvdimm_write_bytes() - synchronously write bytes to an nvdimm namespace |
---|
158 | | - * @ndns: device to read |
---|
| 150 | + * @ndns: device to write |
---|
159 | 151 | * @offset: namespace-relative starting offset |
---|
160 | 152 | * @buf: buffer to drain |
---|
161 | 153 | * @size: transfer length |
---|