diff --git a/drivers/misc/mods/Makefile b/drivers/misc/mods/Makefile
index 5edad78c..804a57ab 100644
--- a/drivers/misc/mods/Makefile
+++ b/drivers/misc/mods/Makefile
@@ -1,5 +1,5 @@
-# SPDX-License-Identifier: GPL-2.0
-# Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+# SPDX-License-Identifier: GPL-2.0-only
+# Copyright (c) 2017-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
ccflags-y += -I$(srctree.nvidia)/include
ccflags-y += -DMODS_HAS_TEGRA
diff --git a/drivers/misc/mods/mods.dts b/drivers/misc/mods/mods.dts
index 673eeaf1..63cbdca4 100644
--- a/drivers/misc/mods/mods.dts
+++ b/drivers/misc/mods/mods.dts
@@ -1,22 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2015-2022, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright (c) 2015-2023, NVIDIA CORPORATION. All rights reserved. */
/dts-v1/;
diff --git a/drivers/misc/mods/mods.h b/drivers/misc/mods/mods.h
index adb43beb..cc941284 100644
--- a/drivers/misc/mods/mods.h
+++ b/drivers/misc/mods/mods.h
@@ -1,21 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2020-2022, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* Copyright (c) 2020-2023, NVIDIA CORPORATION. All rights reserved. */
#include
diff --git a/drivers/misc/mods/mods_acpi.c b/drivers/misc/mods/mods_acpi.c
index 8bb1b664..de811606 100644
--- a/drivers/misc/mods/mods_acpi.c
+++ b/drivers/misc/mods/mods_acpi.c
@@ -1,22 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2008-2022, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright (c) 2008-2023, NVIDIA CORPORATION. All rights reserved. */
#include "mods_internal.h"
diff --git a/drivers/misc/mods/mods_adsp.c b/drivers/misc/mods/mods_adsp.c
index 2e78d504..fa927967 100644
--- a/drivers/misc/mods/mods_adsp.c
+++ b/drivers/misc/mods/mods_adsp.c
@@ -1,22 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2014-2022, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright (c) 2014-2023, NVIDIA CORPORATION. All rights reserved. */
#include
#include "mods_internal.h"
diff --git a/drivers/misc/mods/mods_arm_ffa.c b/drivers/misc/mods/mods_arm_ffa.c
index f5355d2a..2f340957 100644
--- a/drivers/misc/mods/mods_arm_ffa.c
+++ b/drivers/misc/mods/mods_arm_ffa.c
@@ -1,16 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope 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-only
+/* Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved. */
#include "mods_internal.h"
#include
diff --git a/drivers/misc/mods/mods_bpmpipc.c b/drivers/misc/mods/mods_bpmpipc.c
index c0a5acd9..66f6e0fe 100644
--- a/drivers/misc/mods/mods_bpmpipc.c
+++ b/drivers/misc/mods/mods_bpmpipc.c
@@ -1,22 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved. */
#include "mods_internal.h"
diff --git a/drivers/misc/mods/mods_clock.c b/drivers/misc/mods/mods_clock.c
index 86477184..e52350ed 100644
--- a/drivers/misc/mods/mods_clock.c
+++ b/drivers/misc/mods/mods_clock.c
@@ -1,22 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2011-2022, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright (c) 2011-2023, NVIDIA CORPORATION. All rights reserved. */
#include "mods_internal.h"
#include
diff --git a/drivers/misc/mods/mods_config.h b/drivers/misc/mods/mods_config.h
index 10e16b3f..ff63869e 100644
--- a/drivers/misc/mods/mods_config.h
+++ b/drivers/misc/mods/mods_config.h
@@ -1,22 +1,5 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2008-2023, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* Copyright (c) 2008-2023, NVIDIA CORPORATION. All rights reserved. */
#ifndef _MODS_CONFIG_H_
#define _MODS_CONFIG_H_
diff --git a/drivers/misc/mods/mods_debugfs.c b/drivers/misc/mods/mods_debugfs.c
index 27a9fffe..5f401c7d 100644
--- a/drivers/misc/mods/mods_debugfs.c
+++ b/drivers/misc/mods/mods_debugfs.c
@@ -1,22 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2014-2022, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright (c) 2014-2022, NVIDIA CORPORATION. All rights reserved. */
#include "mods_internal.h"
diff --git a/drivers/misc/mods/mods_dma.c b/drivers/misc/mods/mods_dma.c
index 6f33cd18..8d8866d1 100644
--- a/drivers/misc/mods/mods_dma.c
+++ b/drivers/misc/mods/mods_dma.c
@@ -1,22 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2017-2022, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright (c) 2017-2023, NVIDIA CORPORATION. All rights reserved. */
#include
#include
diff --git a/drivers/misc/mods/mods_dmabuf.c b/drivers/misc/mods/mods_dmabuf.c
index 051d1800..451e36e4 100644
--- a/drivers/misc/mods/mods_dmabuf.c
+++ b/drivers/misc/mods/mods_dmabuf.c
@@ -1,22 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2014-2023, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright (c) 2014-2023, NVIDIA CORPORATION. All rights reserved. */
#include
#include
diff --git a/drivers/misc/mods/mods_internal.h b/drivers/misc/mods/mods_internal.h
index e99315a2..6711bae9 100644
--- a/drivers/misc/mods/mods_internal.h
+++ b/drivers/misc/mods/mods_internal.h
@@ -1,22 +1,5 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2008-2023, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* Copyright (c) 2008-2023, NVIDIA CORPORATION. All rights reserved. */
#ifndef _MODS_INTERNAL_H_
#define _MODS_INTERNAL_H_
diff --git a/drivers/misc/mods/mods_ipi.c b/drivers/misc/mods/mods_ipi.c
index b4c89f54..1e5a4a76 100644
--- a/drivers/misc/mods/mods_ipi.c
+++ b/drivers/misc/mods/mods_ipi.c
@@ -1,22 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. */
#include "mods_internal.h"
diff --git a/drivers/misc/mods/mods_irq.c b/drivers/misc/mods/mods_irq.c
index cfeb2e28..fd35bc5b 100644
--- a/drivers/misc/mods/mods_irq.c
+++ b/drivers/misc/mods/mods_irq.c
@@ -1,22 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2008-2023, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright (c) 2008-2023, NVIDIA CORPORATION. All rights reserved. */
#include "mods_internal.h"
diff --git a/drivers/misc/mods/mods_krnl.c b/drivers/misc/mods/mods_krnl.c
index 123d3b14..2ee1959e 100644
--- a/drivers/misc/mods/mods_krnl.c
+++ b/drivers/misc/mods/mods_krnl.c
@@ -1,22 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2008-2023, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright (c) 2008-2023, NVIDIA CORPORATION. All rights reserved. */
#include "mods_internal.h"
diff --git a/drivers/misc/mods/mods_mem.c b/drivers/misc/mods/mods_mem.c
index 65530f20..a251665a 100644
--- a/drivers/misc/mods/mods_mem.c
+++ b/drivers/misc/mods/mods_mem.c
@@ -1,22 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2008-2023, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright (c) 2008-2023, NVIDIA CORPORATION. All rights reserved. */
#include "mods_internal.h"
diff --git a/drivers/misc/mods/mods_netdevice.c b/drivers/misc/mods/mods_netdevice.c
index 65c6e602..dd58fafc 100644
--- a/drivers/misc/mods/mods_netdevice.c
+++ b/drivers/misc/mods/mods_netdevice.c
@@ -1,22 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2015-2022, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright (c) 2015-2023, NVIDIA CORPORATION. All rights reserved. */
#include "mods_internal.h"
#include
diff --git a/drivers/misc/mods/mods_oist.c b/drivers/misc/mods/mods_oist.c
index db104947..9766d5cc 100644
--- a/drivers/misc/mods/mods_oist.c
+++ b/drivers/misc/mods/mods_oist.c
@@ -1,16 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope 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-only
+/* Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved. */
#include "mods_internal.h"
#include
diff --git a/drivers/misc/mods/mods_optee.c b/drivers/misc/mods/mods_optee.c
index 753c69fe..37c60657 100644
--- a/drivers/misc/mods/mods_optee.c
+++ b/drivers/misc/mods/mods_optee.c
@@ -1,16 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope 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-only
+/* Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved. */
#include "mods_internal.h"
diff --git a/drivers/misc/mods/mods_pci.c b/drivers/misc/mods/mods_pci.c
index fb3c90a0..177c8550 100644
--- a/drivers/misc/mods/mods_pci.c
+++ b/drivers/misc/mods/mods_pci.c
@@ -1,22 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2008-2023, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright (c) 2008-2023, NVIDIA CORPORATION. All rights reserved. */
#include "mods_internal.h"
diff --git a/drivers/misc/mods/mods_ras.c b/drivers/misc/mods/mods_ras.c
index b470eb54..86dd3a15 100644
--- a/drivers/misc/mods/mods_ras.c
+++ b/drivers/misc/mods/mods_ras.c
@@ -1,16 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope 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-only
+/* Copyright (c) 2017-2023, NVIDIA CORPORATION. All rights reserved. */
#include "mods_ras.h"
diff --git a/drivers/misc/mods/mods_ras.h b/drivers/misc/mods/mods_ras.h
index 4fd9d851..ddb05f15 100644
--- a/drivers/misc/mods/mods_ras.h
+++ b/drivers/misc/mods/mods_ras.h
@@ -1,22 +1,5 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2019-2022, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* Copyright (c) 2019-2023, NVIDIA CORPORATION. All rights reserved. */
#include "mods_internal.h"
diff --git a/drivers/misc/mods/mods_smmu_drv.c b/drivers/misc/mods/mods_smmu_drv.c
index 9d2134b1..5db9d34c 100644
--- a/drivers/misc/mods/mods_smmu_drv.c
+++ b/drivers/misc/mods/mods_smmu_drv.c
@@ -1,22 +1,6 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2019-2023, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright (c) 2019-2023, NVIDIA CORPORATION. All rights reserved. */
+
#include
#include
#include
diff --git a/drivers/misc/mods/mods_tegradc.c b/drivers/misc/mods/mods_tegradc.c
index 5223c81e..d1282c5b 100644
--- a/drivers/misc/mods/mods_tegradc.c
+++ b/drivers/misc/mods/mods_tegradc.c
@@ -1,22 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2014-2022, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright (c) 2014-2023, NVIDIA CORPORATION. All rights reserved. */
#include
#include <../drivers/video/tegra/dc/dc_priv.h>
diff --git a/drivers/misc/mods/mods_tegraprod.c b/drivers/misc/mods/mods_tegraprod.c
index 22935dde..7a729461 100644
--- a/drivers/misc/mods/mods_tegraprod.c
+++ b/drivers/misc/mods/mods_tegraprod.c
@@ -1,22 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2017-2023, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright (c) 2017-2023, NVIDIA CORPORATION. All rights reserved. */
#include "mods_internal.h"
#include
diff --git a/drivers/misc/mods/mods_tz.c b/drivers/misc/mods/mods_tz.c
index f61a04c3..3c688e45 100644
--- a/drivers/misc/mods/mods_tz.c
+++ b/drivers/misc/mods/mods_tz.c
@@ -1,16 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope 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-only
+/* Copyright (c) 2021-2023, NVIDIA CORPORATION. All rights reserved. */
#include "mods_internal.h"
diff --git a/include/uapi/misc/mods.h b/include/uapi/misc/mods.h
index b5f242a0..59227217 100644
--- a/include/uapi/misc/mods.h
+++ b/include/uapi/misc/mods.h
@@ -1,22 +1,5 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * This file is part of NVIDIA MODS kernel driver.
- *
- * Copyright (c) 2008-2023, NVIDIA CORPORATION. All rights reserved.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * NVIDIA MODS kernel driver 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with NVIDIA MODS kernel driver.
- * If not, see .
- */
+/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
+/* Copyright (c) 2008-2023, NVIDIA CORPORATION. All rights reserved. */
#ifndef _UAPI_MODS_H_
#define _UAPI_MODS_H_