diff options
Diffstat (limited to 'drivers/serial/arm_dcc.c')
-rw-r--r-- | drivers/serial/arm_dcc.c | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/drivers/serial/arm_dcc.c b/drivers/serial/arm_dcc.c index e5f2bbe5e2..1e2b4e425c 100644 --- a/drivers/serial/arm_dcc.c +++ b/drivers/serial/arm_dcc.c @@ -1,26 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only WITH eCos-exception-2.0 */ /* * Copyright (C) 2004-2007 ARM Limited. * Copyright (C) 2008 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License version 2 - * as published by the Free Software Foundation. - * - * 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. - * - * - * As a special exception, if other files instantiate templates or use macros - * or inline functions from this file, or you compile this file and link it - * with other works to produce a work based on this file, this file does not - * by itself cause the resulting work to be covered by the GNU General Public - * License. However the source code for this file must still be made available - * in accordance with section (3) of the GNU General Public License. - - * This exception does not invalidate any other reasons why a work based on - * this file might be covered by the GNU General Public License. */ #include <common.h> @@ -127,7 +108,7 @@ static int arm_dcc_tstc(struct console_device *cdev) static struct console_device arm_dcc_dev; -static int arm_dcc_probe(struct device_d *dev) +static int arm_dcc_probe(struct device *dev) { struct console_device *cdev; @@ -144,13 +125,13 @@ static int arm_dcc_probe(struct device_d *dev) return 0; } -static struct driver_d arm_dcc_driver = { +static struct driver arm_dcc_driver = { .name = "arm_dcc", .probe = arm_dcc_probe, }; console_platform_driver(arm_dcc_driver); -static struct device_d arm_dcc_device = { +static struct device arm_dcc_device = { .id = DEVICE_ID_DYNAMIC, .name = "arm_dcc", }; |