diff options
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/Kconfig | 1 | ||||
-rw-r--r-- | drivers/base/Makefile | 1 | ||||
-rw-r--r-- | drivers/base/bus.c | 3 | ||||
-rw-r--r-- | drivers/base/driver.c | 11 | ||||
-rw-r--r-- | drivers/base/platform.c | 11 | ||||
-rw-r--r-- | drivers/base/power.c | 1 | ||||
-rw-r--r-- | drivers/base/regmap/Makefile | 1 | ||||
-rw-r--r-- | drivers/base/regmap/internal.h | 1 | ||||
-rw-r--r-- | drivers/base/regmap/regmap.c | 10 | ||||
-rw-r--r-- | drivers/base/resource.c | 12 |
10 files changed, 10 insertions, 42 deletions
diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig index 1e13e5ed9d..a7abb79d27 100644 --- a/drivers/base/Kconfig +++ b/drivers/base/Kconfig @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config PM_GENERIC_DOMAINS bool diff --git a/drivers/base/Makefile b/drivers/base/Makefile index 6d2cef8e1a..3fcd6f9056 100644 --- a/drivers/base/Makefile +++ b/drivers/base/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-y += bus.o obj-y += driver.o obj-y += platform.o diff --git a/drivers/base/bus.c b/drivers/base/bus.c index aac5b69f34..d201e3f5e1 100644 --- a/drivers/base/bus.c +++ b/drivers/base/bus.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> - * - * Under GPLv2 */ #include <common.h> diff --git a/drivers/base/driver.c b/drivers/base/driver.c index 23d11d4dad..3b22a95e17 100644 --- a/drivers/base/driver.c +++ b/drivers/base/driver.c @@ -1,17 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * driver.c - barebox driver model * * Copyright (c) 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix - * - * 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. - * */ /** diff --git a/drivers/base/platform.c b/drivers/base/platform.c index f907463368..7de3d9557e 100644 --- a/drivers/base/platform.c +++ b/drivers/base/platform.c @@ -1,17 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * bus.c - barebox driver model * * Copyright (c) 2009 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix - * - * 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. - * */ #include <common.h> #include <driver.h> diff --git a/drivers/base/power.c b/drivers/base/power.c index 12674ca7d9..b68c9a11a5 100644 --- a/drivers/base/power.c +++ b/drivers/base/power.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <common.h> #include <driver.h> #include <errno.h> diff --git a/drivers/base/regmap/Makefile b/drivers/base/regmap/Makefile index b12b695311..14a4a9372c 100644 --- a/drivers/base/regmap/Makefile +++ b/drivers/base/regmap/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-y += regmap.o obj-y += regmap-mmio.o obj-$(CONFIG_I2C) += regmap-i2c.o diff --git a/drivers/base/regmap/internal.h b/drivers/base/regmap/internal.h index 4c7460fa4c..be5e348f81 100644 --- a/drivers/base/regmap/internal.h +++ b/drivers/base/regmap/internal.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef REGMAP_INTERNAL_H_ #define REGMAP_INTERNAL_H_ diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index 1af0c15a7b..c57c472f6d 100644 --- a/drivers/base/regmap/regmap.c +++ b/drivers/base/regmap/regmap.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Register map access API * @@ -8,15 +9,6 @@ * Copyright 2011 Wolfson Microelectronics plc * * Author: Mark Brown <broonie@opensource.wolfsonmicro.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; version 2. - * - * 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 <common.h> diff --git a/drivers/base/resource.c b/drivers/base/resource.c index 3fd3f1779b..d0d3962077 100644 --- a/drivers/base/resource.c +++ b/drivers/base/resource.c @@ -1,17 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * 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 <common.h> |