mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
staging: kpc2000: move the i2c driver out of its subdirectory
There is no need for a subdirectory for just a single .c file. So move it out of kpc_i2c/ and rename it to the module name that we want the file to build to, saving one more linking stage. Cc: Matt Sickler <Matt.Sickler@daktronics.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f900d81cb9
commit
8cac7b354a
@ -1,6 +1,6 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
obj-$(CONFIG_KPC2000) += kpc2000/
|
||||
obj-$(CONFIG_KPC2000_I2C) += kpc_i2c/
|
||||
obj-$(CONFIG_KPC2000_I2C) += kpc2000_i2c.o
|
||||
obj-$(CONFIG_KPC2000_SPI) += kpc2000_spi.o
|
||||
obj-$(CONFIG_KPC2000_DMA) += kpc_dma/
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <linux/rwsem.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/i2c.h>
|
||||
#include "../kpc.h"
|
||||
#include "kpc.h"
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_AUTHOR("Matt.Sickler@Daktronics.com");
|
@ -1,4 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
obj-m := kpc2000_i2c.o
|
||||
kpc2000_i2c-objs := i2c_driver.o
|
Loading…
Reference in New Issue
Block a user