layerscape: add patches-5.4
[openwrt/staging/chunkeey.git] / target / linux / layerscape / patches-5.4 / 701-net-0311-staging-fsl_ppfe-eth-Update-to-use-SPDX-identifiers.patch
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
5
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.
9
10 Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com>
11 ---
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(-)
36
37 --- a/drivers/staging/fsl_ppfe/pfe_cdev.c
38 +++ b/drivers/staging/fsl_ppfe/pfe_cdev.c
39 @@ -1,18 +1,6 @@
40 +// SPDX-License-Identifier: GPL-2.0+
41 /*
42 * Copyright 2018 NXP
43 - *
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.
48 - *
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.
53 - *
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/>.
56 */
57
58 /* @pfe_cdev.c.
59 --- a/drivers/staging/fsl_ppfe/pfe_cdev.h
60 +++ b/drivers/staging/fsl_ppfe/pfe_cdev.h
61 @@ -1,18 +1,6 @@
62 +/* SPDX-License-Identifier: GPL-2.0+ */
63 /*
64 * Copyright 2018 NXP
65 - *
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.
70 - *
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.
75 - *
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/>.
78 */
79
80 #ifndef _PFE_CDEV_H_
81 --- a/drivers/staging/fsl_ppfe/pfe_ctrl.c
82 +++ b/drivers/staging/fsl_ppfe/pfe_ctrl.c
83 @@ -1,19 +1,7 @@
84 +// SPDX-License-Identifier: GPL-2.0+
85 /*
86 * Copyright 2015-2016 Freescale Semiconductor, Inc.
87 * Copyright 2017 NXP
88 - *
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.
93 - *
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.
98 - *
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/>.
101 */
102
103 #include <linux/kernel.h>
104 --- a/drivers/staging/fsl_ppfe/pfe_ctrl.h
105 +++ b/drivers/staging/fsl_ppfe/pfe_ctrl.h
106 @@ -1,19 +1,7 @@
107 +/* SPDX-License-Identifier: GPL-2.0+ */
108 /*
109 * Copyright 2015-2016 Freescale Semiconductor, Inc.
110 * Copyright 2017 NXP
111 - *
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.
116 - *
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.
121 - *
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/>.
124 */
125
126 #ifndef _PFE_CTRL_H_
127 --- a/drivers/staging/fsl_ppfe/pfe_debugfs.c
128 +++ b/drivers/staging/fsl_ppfe/pfe_debugfs.c
129 @@ -1,19 +1,7 @@
130 +// SPDX-License-Identifier: GPL-2.0+
131 /*
132 * Copyright 2015-2016 Freescale Semiconductor, Inc.
133 * Copyright 2017 NXP
134 - *
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.
139 - *
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.
144 - *
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/>.
147 */
148
149 #include <linux/module.h>
150 --- a/drivers/staging/fsl_ppfe/pfe_debugfs.h
151 +++ b/drivers/staging/fsl_ppfe/pfe_debugfs.h
152 @@ -1,19 +1,7 @@
153 +/* SPDX-License-Identifier: GPL-2.0+ */
154 /*
155 * Copyright 2015-2016 Freescale Semiconductor, Inc.
156 * Copyright 2017 NXP
157 - *
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.
162 - *
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.
167 - *
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/>.
170 */
171
172 #ifndef _PFE_DEBUGFS_H_
173 --- a/drivers/staging/fsl_ppfe/pfe_eth.c
174 +++ b/drivers/staging/fsl_ppfe/pfe_eth.c
175 @@ -1,19 +1,7 @@
176 +// SPDX-License-Identifier: GPL-2.0+
177 /*
178 * Copyright 2015-2016 Freescale Semiconductor, Inc.
179 * Copyright 2017 NXP
180 - *
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.
185 - *
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.
190 - *
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/>.
193 */
194
195 /* @pfe_eth.c.
196 --- a/drivers/staging/fsl_ppfe/pfe_eth.h
197 +++ b/drivers/staging/fsl_ppfe/pfe_eth.h
198 @@ -1,19 +1,7 @@
199 +/* SPDX-License-Identifier: GPL-2.0+ */
200 /*
201 * Copyright 2015-2016 Freescale Semiconductor, Inc.
202 * Copyright 2017 NXP
203 - *
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.
208 - *
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.
213 - *
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/>.
216 */
217
218 #ifndef _PFE_ETH_H_
219 --- a/drivers/staging/fsl_ppfe/pfe_firmware.c
220 +++ b/drivers/staging/fsl_ppfe/pfe_firmware.c
221 @@ -1,19 +1,7 @@
222 +// SPDX-License-Identifier: GPL-2.0+
223 /*
224 * Copyright 2015-2016 Freescale Semiconductor, Inc.
225 * Copyright 2017 NXP
226 - *
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.
231 - *
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.
236 - *
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/>.
239 */
240
241 /*
242 --- a/drivers/staging/fsl_ppfe/pfe_firmware.h
243 +++ b/drivers/staging/fsl_ppfe/pfe_firmware.h
244 @@ -1,19 +1,7 @@
245 +/* SPDX-License-Identifier: GPL-2.0+ */
246 /*
247 * Copyright 2015-2016 Freescale Semiconductor, Inc.
248 * Copyright 2017 NXP
249 - *
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.
254 - *
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.
259 - *
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/>.
262 */
263
264 #ifndef _PFE_FIRMWARE_H_
265 --- a/drivers/staging/fsl_ppfe/pfe_hal.c
266 +++ b/drivers/staging/fsl_ppfe/pfe_hal.c
267 @@ -1,19 +1,7 @@
268 +// SPDX-License-Identifier: GPL-2.0+
269 /*
270 * Copyright 2015-2016 Freescale Semiconductor, Inc.
271 * Copyright 2017 NXP
272 - *
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.
277 - *
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.
282 - *
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/>.
285 */
286
287 #include "pfe_mod.h"
288 --- a/drivers/staging/fsl_ppfe/pfe_hif.c
289 +++ b/drivers/staging/fsl_ppfe/pfe_hif.c
290 @@ -1,19 +1,7 @@
291 +// SPDX-License-Identifier: GPL-2.0+
292 /*
293 * Copyright 2015-2016 Freescale Semiconductor, Inc.
294 * Copyright 2017 NXP
295 - *
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.
300 - *
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.
305 - *
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/>.
308 */
309
310 #include <linux/kernel.h>
311 --- a/drivers/staging/fsl_ppfe/pfe_hif.h
312 +++ b/drivers/staging/fsl_ppfe/pfe_hif.h
313 @@ -1,19 +1,7 @@
314 +/* SPDX-License-Identifier: GPL-2.0+ */
315 /*
316 * Copyright 2015-2016 Freescale Semiconductor, Inc.
317 * Copyright 2017 NXP
318 - *
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.
323 - *
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.
328 - *
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/>.
331 */
332
333 #ifndef _PFE_HIF_H_
334 --- a/drivers/staging/fsl_ppfe/pfe_hif_lib.c
335 +++ b/drivers/staging/fsl_ppfe/pfe_hif_lib.c
336 @@ -1,19 +1,7 @@
337 +// SPDX-License-Identifier: GPL-2.0+
338 /*
339 * Copyright 2015-2016 Freescale Semiconductor, Inc.
340 * Copyright 2017 NXP
341 - *
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.
346 - *
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.
351 - *
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/>.
354 */
355
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
359 @@ -1,19 +1,7 @@
360 +/* SPDX-License-Identifier: GPL-2.0+ */
361 /*
362 * Copyright 2015-2016 Freescale Semiconductor, Inc.
363 * Copyright 2017 NXP
364 - *
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.
369 - *
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.
374 - *
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/>.
377 */
378
379 #ifndef _PFE_HIF_LIB_H_
380 --- a/drivers/staging/fsl_ppfe/pfe_hw.c
381 +++ b/drivers/staging/fsl_ppfe/pfe_hw.c
382 @@ -1,19 +1,7 @@
383 +// SPDX-License-Identifier: GPL-2.0+
384 /*
385 * Copyright 2015-2016 Freescale Semiconductor, Inc.
386 * Copyright 2017 NXP
387 - *
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.
392 - *
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.
397 - *
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/>.
400 */
401
402 #include "pfe_mod.h"
403 --- a/drivers/staging/fsl_ppfe/pfe_hw.h
404 +++ b/drivers/staging/fsl_ppfe/pfe_hw.h
405 @@ -1,19 +1,7 @@
406 +/* SPDX-License-Identifier: GPL-2.0+ */
407 /*
408 * Copyright 2015-2016 Freescale Semiconductor, Inc.
409 * Copyright 2017 NXP
410 - *
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.
415 - *
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.
420 - *
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/>.
423 */
424
425 #ifndef _PFE_HW_H_
426 --- a/drivers/staging/fsl_ppfe/pfe_ls1012a_platform.c
427 +++ b/drivers/staging/fsl_ppfe/pfe_ls1012a_platform.c
428 @@ -1,19 +1,7 @@
429 +// SPDX-License-Identifier: GPL-2.0+
430 /*
431 * Copyright 2015-2016 Freescale Semiconductor, Inc.
432 * Copyright 2017 NXP
433 - *
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.
438 - *
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.
443 - *
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/>.
446 */
447
448 #include <linux/module.h>
449 --- a/drivers/staging/fsl_ppfe/pfe_mod.c
450 +++ b/drivers/staging/fsl_ppfe/pfe_mod.c
451 @@ -1,19 +1,7 @@
452 +// SPDX-License-Identifier: GPL-2.0+
453 /*
454 * Copyright 2015-2016 Freescale Semiconductor, Inc.
455 * Copyright 2017 NXP
456 - *
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.
461 - *
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.
466 - *
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/>.
469 */
470
471 #include <linux/dma-mapping.h>
472 --- a/drivers/staging/fsl_ppfe/pfe_mod.h
473 +++ b/drivers/staging/fsl_ppfe/pfe_mod.h
474 @@ -1,19 +1,7 @@
475 +/* SPDX-License-Identifier: GPL-2.0+ */
476 /*
477 * Copyright 2015-2016 Freescale Semiconductor, Inc.
478 * Copyright 2017 NXP
479 - *
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.
484 - *
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.
489 - *
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/>.
492 */
493
494 #ifndef _PFE_MOD_H_
495 --- a/drivers/staging/fsl_ppfe/pfe_perfmon.h
496 +++ b/drivers/staging/fsl_ppfe/pfe_perfmon.h
497 @@ -1,19 +1,7 @@
498 +/* SPDX-License-Identifier: GPL-2.0+ */
499 /*
500 * Copyright 2015-2016 Freescale Semiconductor, Inc.
501 * Copyright 2017 NXP
502 - *
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.
507 - *
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.
512 - *
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/>.
515 */
516
517 #ifndef _PFE_PERFMON_H_
518 --- a/drivers/staging/fsl_ppfe/pfe_sysfs.c
519 +++ b/drivers/staging/fsl_ppfe/pfe_sysfs.c
520 @@ -1,19 +1,7 @@
521 +// SPDX-License-Identifier: GPL-2.0+
522 /*
523 * Copyright 2015-2016 Freescale Semiconductor, Inc.
524 * Copyright 2017 NXP
525 - *
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.
530 - *
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.
535 - *
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/>.
538 */
539
540 #include <linux/module.h>
541 --- a/drivers/staging/fsl_ppfe/pfe_sysfs.h
542 +++ b/drivers/staging/fsl_ppfe/pfe_sysfs.h
543 @@ -1,19 +1,7 @@
544 +/* SPDX-License-Identifier: GPL-2.0+ */
545 /*
546 * Copyright 2015-2016 Freescale Semiconductor, Inc.
547 * Copyright 2017 NXP
548 - *
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.
553 - *
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.
558 - *
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/>.
561 */
562
563 #ifndef _PFE_SYSFS_H_