diff options
Diffstat (limited to 'arch/arm/boards/nhk8815/setup.c')
-rw-r--r-- | arch/arm/boards/nhk8815/setup.c | 30 |
1 files changed, 8 insertions, 22 deletions
diff --git a/arch/arm/boards/nhk8815/setup.c b/arch/arm/boards/nhk8815/setup.c index 0b6901001a..c7a2afdbfe 100644 --- a/arch/arm/boards/nhk8815/setup.c +++ b/arch/arm/boards/nhk8815/setup.c @@ -1,34 +1,20 @@ -/* - * Copyright (C) 2009 Jean-Christophe PLAGNIOL-VILLARD <plagnio@jcrosoft.com> - * - * 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. - * - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2009 Jean-Christophe PLAGNIOL-VILLARD <plagnio@jcrosoft.com> #include <common.h> #include <init.h> #include <linux/mtd/mtd.h> #include <linux/mtd/nand.h> -#include <partition.h> #include <nand.h> #include <asm/armlinux.h> -#include <generated/mach-types.h> +#include <asm/mach-types.h> #include <io.h> #include <envfs.h> -#include <mach/hardware.h> -#include <mach/board.h> -#include <mach/nand.h> -#include <mach/fsmc.h> +#include <mach/nomadik/hardware.h> +#include <mach/nomadik/board.h> +#include <mach/nomadik/nand.h> +#include <mach/nomadik/fsmc.h> static int nhk8815_nand_init(void) { @@ -66,7 +52,7 @@ static struct resource nhk8815_nand_resources[] = { } }; -static struct device_d nhk8815_nand_device = { +static struct device nhk8815_nand_device = { .id = DEVICE_ID_DYNAMIC, .name = "nomadik_nand", .num_resources = ARRAY_SIZE(nhk8815_nand_resources), |