diff options
Diffstat (limited to 'drivers/mtd/mtd.h')
-rw-r--r-- | drivers/mtd/mtd.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/drivers/mtd/mtd.h b/drivers/mtd/mtd.h index 2a85265f98..c0af4f39d4 100644 --- a/drivers/mtd/mtd.h +++ b/drivers/mtd/mtd.h @@ -1,18 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * MTD devices registration * * Copyright (C) 2011 Robert Jarzmik - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * 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. - * */ /** @@ -40,4 +30,4 @@ struct cdev; */ void mtdcore_add_hook(struct mtddev_hook *hook); -int mtd_ioctl(struct cdev *cdev, int request, void *buf); +int mtd_ioctl(struct cdev *cdev, unsigned int request, void *buf); |