mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 12:10:23 -04:00
staging: kpc2000: move the spi driver out of its subdirectory
There is no need for a subdirectory for just a single .c file. So move it out of kpc_spi/ 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:
@@ -2,5 +2,5 @@
|
||||
|
||||
obj-$(CONFIG_KPC2000) += kpc2000/
|
||||
obj-$(CONFIG_KPC2000_I2C) += kpc_i2c/
|
||||
obj-$(CONFIG_KPC2000_SPI) += kpc_spi/
|
||||
obj-$(CONFIG_KPC2000_SPI) += kpc2000_spi.o
|
||||
obj-$(CONFIG_KPC2000_DMA) += kpc_dma/
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include <linux/spi/flash.h>
|
||||
#include <linux/mtd/partitions.h>
|
||||
|
||||
#include "../kpc.h"
|
||||
#include "kpc.h"
|
||||
|
||||
static struct mtd_partition p2kr0_spi0_parts[] = {
|
||||
{ .name = "SLOT_0", .size = 7798784, .offset = 0, },
|
||||
@@ -1,4 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
obj-m += kpc2000_spi.o
|
||||
kpc2000_spi-objs := spi_driver.o
|
||||
Reference in New Issue
Block a user