1 From 9690960751950583eb80ad9d623c45e974359829 Mon Sep 17 00:00:00 2001
2 From: Calvin Johnson <calvin.johnson@nxp.com>
3 Date: Tue, 20 Nov 2018 21:50:23 +0530
4 Subject: [PATCH] staging: fsl_ppfe/eth: Update to use SPDX identifiers
6 Replace license text with corresponding SPDX identifiers and update the
7 format of existing SPDX identifiers to follow the new guideline
8 Documentation/process/license-rules.rst.
10 Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com>
12 drivers/staging/fsl_ppfe/pfe_cdev.c | 14 +-------------
13 drivers/staging/fsl_ppfe/pfe_cdev.h | 14 +-------------
14 drivers/staging/fsl_ppfe/pfe_ctrl.c | 14 +-------------
15 drivers/staging/fsl_ppfe/pfe_ctrl.h | 14 +-------------
16 drivers/staging/fsl_ppfe/pfe_debugfs.c | 14 +-------------
17 drivers/staging/fsl_ppfe/pfe_debugfs.h | 14 +-------------
18 drivers/staging/fsl_ppfe/pfe_eth.c | 14 +-------------
19 drivers/staging/fsl_ppfe/pfe_eth.h | 14 +-------------
20 drivers/staging/fsl_ppfe/pfe_firmware.c | 14 +-------------
21 drivers/staging/fsl_ppfe/pfe_firmware.h | 14 +-------------
22 drivers/staging/fsl_ppfe/pfe_hal.c | 14 +-------------
23 drivers/staging/fsl_ppfe/pfe_hif.c | 14 +-------------
24 drivers/staging/fsl_ppfe/pfe_hif.h | 14 +-------------
25 drivers/staging/fsl_ppfe/pfe_hif_lib.c | 14 +-------------
26 drivers/staging/fsl_ppfe/pfe_hif_lib.h | 14 +-------------
27 drivers/staging/fsl_ppfe/pfe_hw.c | 14 +-------------
28 drivers/staging/fsl_ppfe/pfe_hw.h | 14 +-------------
29 drivers/staging/fsl_ppfe/pfe_ls1012a_platform.c | 14 +-------------
30 drivers/staging/fsl_ppfe/pfe_mod.c | 14 +-------------
31 drivers/staging/fsl_ppfe/pfe_mod.h | 14 +-------------
32 drivers/staging/fsl_ppfe/pfe_perfmon.h | 14 +-------------
33 drivers/staging/fsl_ppfe/pfe_sysfs.c | 14 +-------------
34 drivers/staging/fsl_ppfe/pfe_sysfs.h | 14 +-------------
35 23 files changed, 23 insertions(+), 299 deletions(-)
37 --- a/drivers/staging/fsl_ppfe/pfe_cdev.c
38 +++ b/drivers/staging/fsl_ppfe/pfe_cdev.c
40 +// SPDX-License-Identifier: GPL-2.0+
44 - * This program is free software; you can redistribute it and/or modify
45 - * it under the terms of the GNU General Public License as published by
46 - * the Free Software Foundation; either version 2 of the License, or
47 - * (at your option) any later version.
49 - * This program is distributed in the hope that it will be useful,
50 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
51 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
52 - * GNU General Public License for more details.
54 - * You should have received a copy of the GNU General Public License
55 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
59 --- a/drivers/staging/fsl_ppfe/pfe_cdev.h
60 +++ b/drivers/staging/fsl_ppfe/pfe_cdev.h
62 +/* SPDX-License-Identifier: GPL-2.0+ */
66 - * This program is free software; you can redistribute it and/or modify
67 - * it under the terms of the GNU General Public License as published by
68 - * the Free Software Foundation; either version 2 of the License, or
69 - * (at your option) any later version.
71 - * This program is distributed in the hope that it will be useful,
72 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
73 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
74 - * GNU General Public License for more details.
76 - * You should have received a copy of the GNU General Public License
77 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
81 --- a/drivers/staging/fsl_ppfe/pfe_ctrl.c
82 +++ b/drivers/staging/fsl_ppfe/pfe_ctrl.c
84 +// SPDX-License-Identifier: GPL-2.0+
86 * Copyright 2015-2016 Freescale Semiconductor, Inc.
89 - * This program is free software; you can redistribute it and/or modify
90 - * it under the terms of the GNU General Public License as published by
91 - * the Free Software Foundation; either version 2 of the License, or
92 - * (at your option) any later version.
94 - * This program is distributed in the hope that it will be useful,
95 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
96 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
97 - * GNU General Public License for more details.
99 - * You should have received a copy of the GNU General Public License
100 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
103 #include <linux/kernel.h>
104 --- a/drivers/staging/fsl_ppfe/pfe_ctrl.h
105 +++ b/drivers/staging/fsl_ppfe/pfe_ctrl.h
107 +/* SPDX-License-Identifier: GPL-2.0+ */
109 * Copyright 2015-2016 Freescale Semiconductor, Inc.
112 - * This program is free software; you can redistribute it and/or modify
113 - * it under the terms of the GNU General Public License as published by
114 - * the Free Software Foundation; either version 2 of the License, or
115 - * (at your option) any later version.
117 - * This program is distributed in the hope that it will be useful,
118 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
119 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
120 - * GNU General Public License for more details.
122 - * You should have received a copy of the GNU General Public License
123 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
127 --- a/drivers/staging/fsl_ppfe/pfe_debugfs.c
128 +++ b/drivers/staging/fsl_ppfe/pfe_debugfs.c
130 +// SPDX-License-Identifier: GPL-2.0+
132 * Copyright 2015-2016 Freescale Semiconductor, Inc.
135 - * This program is free software; you can redistribute it and/or modify
136 - * it under the terms of the GNU General Public License as published by
137 - * the Free Software Foundation; either version 2 of the License, or
138 - * (at your option) any later version.
140 - * This program is distributed in the hope that it will be useful,
141 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
142 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
143 - * GNU General Public License for more details.
145 - * You should have received a copy of the GNU General Public License
146 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
149 #include <linux/module.h>
150 --- a/drivers/staging/fsl_ppfe/pfe_debugfs.h
151 +++ b/drivers/staging/fsl_ppfe/pfe_debugfs.h
153 +/* SPDX-License-Identifier: GPL-2.0+ */
155 * Copyright 2015-2016 Freescale Semiconductor, Inc.
158 - * This program is free software; you can redistribute it and/or modify
159 - * it under the terms of the GNU General Public License as published by
160 - * the Free Software Foundation; either version 2 of the License, or
161 - * (at your option) any later version.
163 - * This program is distributed in the hope that it will be useful,
164 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
165 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
166 - * GNU General Public License for more details.
168 - * You should have received a copy of the GNU General Public License
169 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
172 #ifndef _PFE_DEBUGFS_H_
173 --- a/drivers/staging/fsl_ppfe/pfe_eth.c
174 +++ b/drivers/staging/fsl_ppfe/pfe_eth.c
176 +// SPDX-License-Identifier: GPL-2.0+
178 * Copyright 2015-2016 Freescale Semiconductor, Inc.
181 - * This program is free software; you can redistribute it and/or modify
182 - * it under the terms of the GNU General Public License as published by
183 - * the Free Software Foundation; either version 2 of the License, or
184 - * (at your option) any later version.
186 - * This program is distributed in the hope that it will be useful,
187 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
188 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
189 - * GNU General Public License for more details.
191 - * You should have received a copy of the GNU General Public License
192 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
196 --- a/drivers/staging/fsl_ppfe/pfe_eth.h
197 +++ b/drivers/staging/fsl_ppfe/pfe_eth.h
199 +/* SPDX-License-Identifier: GPL-2.0+ */
201 * Copyright 2015-2016 Freescale Semiconductor, Inc.
204 - * This program is free software; you can redistribute it and/or modify
205 - * it under the terms of the GNU General Public License as published by
206 - * the Free Software Foundation; either version 2 of the License, or
207 - * (at your option) any later version.
209 - * This program is distributed in the hope that it will be useful,
210 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
211 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
212 - * GNU General Public License for more details.
214 - * You should have received a copy of the GNU General Public License
215 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
219 --- a/drivers/staging/fsl_ppfe/pfe_firmware.c
220 +++ b/drivers/staging/fsl_ppfe/pfe_firmware.c
222 +// SPDX-License-Identifier: GPL-2.0+
224 * Copyright 2015-2016 Freescale Semiconductor, Inc.
227 - * This program is free software; you can redistribute it and/or modify
228 - * it under the terms of the GNU General Public License as published by
229 - * the Free Software Foundation; either version 2 of the License, or
230 - * (at your option) any later version.
232 - * This program is distributed in the hope that it will be useful,
233 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
234 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
235 - * GNU General Public License for more details.
237 - * You should have received a copy of the GNU General Public License
238 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
242 --- a/drivers/staging/fsl_ppfe/pfe_firmware.h
243 +++ b/drivers/staging/fsl_ppfe/pfe_firmware.h
245 +/* SPDX-License-Identifier: GPL-2.0+ */
247 * Copyright 2015-2016 Freescale Semiconductor, Inc.
250 - * This program is free software; you can redistribute it and/or modify
251 - * it under the terms of the GNU General Public License as published by
252 - * the Free Software Foundation; either version 2 of the License, or
253 - * (at your option) any later version.
255 - * This program is distributed in the hope that it will be useful,
256 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
257 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
258 - * GNU General Public License for more details.
260 - * You should have received a copy of the GNU General Public License
261 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
264 #ifndef _PFE_FIRMWARE_H_
265 --- a/drivers/staging/fsl_ppfe/pfe_hal.c
266 +++ b/drivers/staging/fsl_ppfe/pfe_hal.c
268 +// SPDX-License-Identifier: GPL-2.0+
270 * Copyright 2015-2016 Freescale Semiconductor, Inc.
273 - * This program is free software; you can redistribute it and/or modify
274 - * it under the terms of the GNU General Public License as published by
275 - * the Free Software Foundation; either version 2 of the License, or
276 - * (at your option) any later version.
278 - * This program is distributed in the hope that it will be useful,
279 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
280 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
281 - * GNU General Public License for more details.
283 - * You should have received a copy of the GNU General Public License
284 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
288 --- a/drivers/staging/fsl_ppfe/pfe_hif.c
289 +++ b/drivers/staging/fsl_ppfe/pfe_hif.c
291 +// SPDX-License-Identifier: GPL-2.0+
293 * Copyright 2015-2016 Freescale Semiconductor, Inc.
296 - * This program is free software; you can redistribute it and/or modify
297 - * it under the terms of the GNU General Public License as published by
298 - * the Free Software Foundation; either version 2 of the License, or
299 - * (at your option) any later version.
301 - * This program is distributed in the hope that it will be useful,
302 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
303 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304 - * GNU General Public License for more details.
306 - * You should have received a copy of the GNU General Public License
307 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
310 #include <linux/kernel.h>
311 --- a/drivers/staging/fsl_ppfe/pfe_hif.h
312 +++ b/drivers/staging/fsl_ppfe/pfe_hif.h
314 +/* SPDX-License-Identifier: GPL-2.0+ */
316 * Copyright 2015-2016 Freescale Semiconductor, Inc.
319 - * This program is free software; you can redistribute it and/or modify
320 - * it under the terms of the GNU General Public License as published by
321 - * the Free Software Foundation; either version 2 of the License, or
322 - * (at your option) any later version.
324 - * This program is distributed in the hope that it will be useful,
325 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
326 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
327 - * GNU General Public License for more details.
329 - * You should have received a copy of the GNU General Public License
330 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
334 --- a/drivers/staging/fsl_ppfe/pfe_hif_lib.c
335 +++ b/drivers/staging/fsl_ppfe/pfe_hif_lib.c
337 +// SPDX-License-Identifier: GPL-2.0+
339 * Copyright 2015-2016 Freescale Semiconductor, Inc.
342 - * This program is free software; you can redistribute it and/or modify
343 - * it under the terms of the GNU General Public License as published by
344 - * the Free Software Foundation; either version 2 of the License, or
345 - * (at your option) any later version.
347 - * This program is distributed in the hope that it will be useful,
348 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
349 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
350 - * GNU General Public License for more details.
352 - * You should have received a copy of the GNU General Public License
353 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
356 #include <linux/version.h>
357 --- a/drivers/staging/fsl_ppfe/pfe_hif_lib.h
358 +++ b/drivers/staging/fsl_ppfe/pfe_hif_lib.h
360 +/* SPDX-License-Identifier: GPL-2.0+ */
362 * Copyright 2015-2016 Freescale Semiconductor, Inc.
365 - * This program is free software; you can redistribute it and/or modify
366 - * it under the terms of the GNU General Public License as published by
367 - * the Free Software Foundation; either version 2 of the License, or
368 - * (at your option) any later version.
370 - * This program is distributed in the hope that it will be useful,
371 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
372 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
373 - * GNU General Public License for more details.
375 - * You should have received a copy of the GNU General Public License
376 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
379 #ifndef _PFE_HIF_LIB_H_
380 --- a/drivers/staging/fsl_ppfe/pfe_hw.c
381 +++ b/drivers/staging/fsl_ppfe/pfe_hw.c
383 +// SPDX-License-Identifier: GPL-2.0+
385 * Copyright 2015-2016 Freescale Semiconductor, Inc.
388 - * This program is free software; you can redistribute it and/or modify
389 - * it under the terms of the GNU General Public License as published by
390 - * the Free Software Foundation; either version 2 of the License, or
391 - * (at your option) any later version.
393 - * This program is distributed in the hope that it will be useful,
394 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
395 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
396 - * GNU General Public License for more details.
398 - * You should have received a copy of the GNU General Public License
399 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
403 --- a/drivers/staging/fsl_ppfe/pfe_hw.h
404 +++ b/drivers/staging/fsl_ppfe/pfe_hw.h
406 +/* SPDX-License-Identifier: GPL-2.0+ */
408 * Copyright 2015-2016 Freescale Semiconductor, Inc.
411 - * This program is free software; you can redistribute it and/or modify
412 - * it under the terms of the GNU General Public License as published by
413 - * the Free Software Foundation; either version 2 of the License, or
414 - * (at your option) any later version.
416 - * This program is distributed in the hope that it will be useful,
417 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
418 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
419 - * GNU General Public License for more details.
421 - * You should have received a copy of the GNU General Public License
422 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
426 --- a/drivers/staging/fsl_ppfe/pfe_ls1012a_platform.c
427 +++ b/drivers/staging/fsl_ppfe/pfe_ls1012a_platform.c
429 +// SPDX-License-Identifier: GPL-2.0+
431 * Copyright 2015-2016 Freescale Semiconductor, Inc.
434 - * This program is free software; you can redistribute it and/or modify
435 - * it under the terms of the GNU General Public License as published by
436 - * the Free Software Foundation; either version 2 of the License, or
437 - * (at your option) any later version.
439 - * This program is distributed in the hope that it will be useful,
440 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
441 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
442 - * GNU General Public License for more details.
444 - * You should have received a copy of the GNU General Public License
445 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
448 #include <linux/module.h>
449 --- a/drivers/staging/fsl_ppfe/pfe_mod.c
450 +++ b/drivers/staging/fsl_ppfe/pfe_mod.c
452 +// SPDX-License-Identifier: GPL-2.0+
454 * Copyright 2015-2016 Freescale Semiconductor, Inc.
457 - * This program is free software; you can redistribute it and/or modify
458 - * it under the terms of the GNU General Public License as published by
459 - * the Free Software Foundation; either version 2 of the License, or
460 - * (at your option) any later version.
462 - * This program is distributed in the hope that it will be useful,
463 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
464 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
465 - * GNU General Public License for more details.
467 - * You should have received a copy of the GNU General Public License
468 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
471 #include <linux/dma-mapping.h>
472 --- a/drivers/staging/fsl_ppfe/pfe_mod.h
473 +++ b/drivers/staging/fsl_ppfe/pfe_mod.h
475 +/* SPDX-License-Identifier: GPL-2.0+ */
477 * Copyright 2015-2016 Freescale Semiconductor, Inc.
480 - * This program is free software; you can redistribute it and/or modify
481 - * it under the terms of the GNU General Public License as published by
482 - * the Free Software Foundation; either version 2 of the License, or
483 - * (at your option) any later version.
485 - * This program is distributed in the hope that it will be useful,
486 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
487 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
488 - * GNU General Public License for more details.
490 - * You should have received a copy of the GNU General Public License
491 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
495 --- a/drivers/staging/fsl_ppfe/pfe_perfmon.h
496 +++ b/drivers/staging/fsl_ppfe/pfe_perfmon.h
498 +/* SPDX-License-Identifier: GPL-2.0+ */
500 * Copyright 2015-2016 Freescale Semiconductor, Inc.
503 - * This program is free software; you can redistribute it and/or modify
504 - * it under the terms of the GNU General Public License as published by
505 - * the Free Software Foundation; either version 2 of the License, or
506 - * (at your option) any later version.
508 - * This program is distributed in the hope that it will be useful,
509 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
510 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
511 - * GNU General Public License for more details.
513 - * You should have received a copy of the GNU General Public License
514 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
517 #ifndef _PFE_PERFMON_H_
518 --- a/drivers/staging/fsl_ppfe/pfe_sysfs.c
519 +++ b/drivers/staging/fsl_ppfe/pfe_sysfs.c
521 +// SPDX-License-Identifier: GPL-2.0+
523 * Copyright 2015-2016 Freescale Semiconductor, Inc.
526 - * This program is free software; you can redistribute it and/or modify
527 - * it under the terms of the GNU General Public License as published by
528 - * the Free Software Foundation; either version 2 of the License, or
529 - * (at your option) any later version.
531 - * This program is distributed in the hope that it will be useful,
532 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
533 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
534 - * GNU General Public License for more details.
536 - * You should have received a copy of the GNU General Public License
537 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
540 #include <linux/module.h>
541 --- a/drivers/staging/fsl_ppfe/pfe_sysfs.h
542 +++ b/drivers/staging/fsl_ppfe/pfe_sysfs.h
544 +/* SPDX-License-Identifier: GPL-2.0+ */
546 * Copyright 2015-2016 Freescale Semiconductor, Inc.
549 - * This program is free software; you can redistribute it and/or modify
550 - * it under the terms of the GNU General Public License as published by
551 - * the Free Software Foundation; either version 2 of the License, or
552 - * (at your option) any later version.
554 - * This program is distributed in the hope that it will be useful,
555 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
556 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
557 - * GNU General Public License for more details.
559 - * You should have received a copy of the GNU General Public License
560 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
563 #ifndef _PFE_SYSFS_H_