aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/raw/nand_bbt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/raw/nand_bbt.c')
-rw-r--r--drivers/mtd/nand/raw/nand_bbt.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/mtd/nand/raw/nand_bbt.c b/drivers/mtd/nand/raw/nand_bbt.c
index fd3c10216eda..2ef15ef94525 100644
--- a/drivers/mtd/nand/raw/nand_bbt.c
+++ b/drivers/mtd/nand/raw/nand_bbt.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Overview: 3 * Overview:
3 * Bad block table support for the NAND driver 4 * Bad block table support for the NAND driver
4 * 5 *
5 * Copyright © 2004 Thomas Gleixner (tglx@linutronix.de) 6 * Copyright © 2004 Thomas Gleixner (tglx@linutronix.de)
6 * 7 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 * Description: 8 * Description:
12 * 9 *
13 * When nand_scan_bbt is called, then it tries to find the bad block table 10 * When nand_scan_bbt is called, then it tries to find the bad block table
@@ -54,7 +51,6 @@
54 * Following assumptions are made: 51 * Following assumptions are made:
55 * - bbts start at a page boundary, if autolocated on a block boundary 52 * - bbts start at a page boundary, if autolocated on a block boundary
56 * - the space necessary for a bbt in FLASH does not exceed a block boundary 53 * - the space necessary for a bbt in FLASH does not exceed a block boundary
57 *
58 */ 54 */
59 55
60#include <linux/slab.h> 56#include <linux/slab.h>