USB: host: whci: rename Kbuild file

This change “USB: host: whci: rename Kbuild file” in Linux kernel is authored by Greg Kroah-Hartman <gregkh [at] linuxfoundation.org> on Thu Jan 17 09:23:47 2019 +0100.

USB: host: whci: rename Kbuild file

We have been using Makefile for well over a decade now, use that name
instead of Kbuild.

Also, while moving the file, add the proper SPDX identifier at the top
of it.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

This Linux change may have been applied to various maintained Linux releases and you can find Linux releases including commit e36f8b7.

There are 26 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/usb/host/whci/Kbuild   | 12 ------------
 drivers/usb/host/whci/Makefile | 14 ++++++++++++++
 2 files changed, 14 insertions(+), 12 deletions(-)
 delete mode 100644 drivers/usb/host/whci/Kbuild
 create mode 100644 drivers/usb/host/whci/Makefile

diff --git a/drivers/usb/host/whci/Kbuild b/drivers/usb/host/whci/Kbuild
deleted file mode 100644
index 26df013..00000000
--- a/drivers/usb/host/whci/Kbuild
+++ /dev/null
@@ -1,12 +0,0 @@
-obj-$(CONFIG_USB_WHCI_HCD) += whci-hcd.o
-
-whci-hcd-y := 
-	asl.o	
-	debug.o 
-	hcd.o	
-	hw.o	
-	init.o	
-	int.o	
-	pzl.o	
-	qset.o	
-	wusb.o
diff --git a/drivers/usb/host/whci/Makefile b/drivers/usb/host/whci/Makefile
new file mode 100644
index 00000000..859d200
--- /dev/null
+++ b/drivers/usb/host/whci/Makefile
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0
+
+obj-$(CONFIG_USB_WHCI_HCD) += whci-hcd.o
+
+whci-hcd-y := 
+	asl.o	
+	debug.o 
+	hcd.o	
+	hw.o	
+	init.o	
+	int.o	
+	pzl.o	
+	qset.o	
+	wusb.o

The commit for this change in Linux stable tree is e36f8b7 (patch).

Leave a Reply

Your email address will not be published. Required fields are marked *