Skip to content

Commit 7a3e989

Browse files
authored
Merge pull request #596 from lrh2000/pci-no
lkl: Fix builds without CONFIG_PCI
2 parents ab54344 + 8eee6cf commit 7a3e989

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

arch/lkl/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ config LKL
1010
select NO_HZ_IDLE
1111
select NO_PREEMPT
1212
select ARCH_WANT_FRAME_POINTERS
13-
select HAS_DMA
14-
select DMA_OPS
1513
select NET
1614
select MULTIUSER
1715
select INET
@@ -146,6 +144,8 @@ config PCI
146144
bool "PCI support"
147145
select NO_GENERIC_PCI_IOPORT_MAP
148146
select GENERIC_PCI_IOMAP
147+
select HAS_DMA
148+
select DMA_OPS
149149
default y
150150

151151
config RAID6_PQ_BENCHMARK

arch/lkl/drivers/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
# SPDX-License-Identifier: GPL-2.0
12

2-
obj-y = pci.o
3+
obj-$(CONFIG_PCI) += pci.o

0 commit comments

Comments
 (0)