diff options
Diffstat (limited to 'drivers/mtd/nor/cfi_flash.h')
-rw-r--r-- | drivers/mtd/nor/cfi_flash.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/drivers/mtd/nor/cfi_flash.h b/drivers/mtd/nor/cfi_flash.h index e82eb28abe..5d3053f971 100644 --- a/drivers/mtd/nor/cfi_flash.h +++ b/drivers/mtd/nor/cfi_flash.h @@ -1,23 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef __CFI_FLASH_H #define __CFI_FLASH_H /* * (C) Copyright 2000-2005 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * See file CREDITS for list of people who contributed to this - * project. - * - * 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. - * */ #include <driver.h> @@ -48,7 +35,7 @@ struct cfi_cmd_set; */ struct flash_info { - struct device_d *dev; + struct device *dev; unsigned long size; /* total bank size in bytes */ unsigned int sector_count; /* number of erase units */ unsigned long flash_id; /* combined device & manufacturer code */ |