All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hisi_sas: add dependency for HAS_IOMEM
@ 2016-01-26 11:59 ` John Garry
  0 siblings, 0 replies; 4+ messages in thread
From: John Garry @ 2016-01-26 11:59 UTC (permalink / raw)
  To: JBottomley, martin.petersen
  Cc: linuxarm, john.garry2, linux-scsi, linux-kernel,
	user-mode-linux-devel, richard, geert, John Garry

Not every arch has io, so fix build by adding
necessary dependency.

Signed-off-by: John Garry <john.garry@huawei.com>
Suggested-by: Richard Weinberger <richard@nod.at>

diff --git a/drivers/scsi/hisi_sas/Kconfig b/drivers/scsi/hisi_sas/Kconfig
index b676618..d1dd161 100644
--- a/drivers/scsi/hisi_sas/Kconfig
+++ b/drivers/scsi/hisi_sas/Kconfig
@@ -1,6 +1,6 @@
 config SCSI_HISI_SAS
 	tristate "HiSilicon SAS"
-	depends on HAS_DMA
+	depends on HAS_DMA && HAS_IOMEM
 	depends on ARM64 || COMPILE_TEST
 	select SCSI_SAS_LIBSAS
 	select BLK_DEV_INTEGRITY
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] hisi_sas: add dependency for HAS_IOMEM
@ 2016-01-26 11:59 ` John Garry
  0 siblings, 0 replies; 4+ messages in thread
From: John Garry @ 2016-01-26 11:59 UTC (permalink / raw)
  To: JBottomley, martin.petersen
  Cc: linuxarm, john.garry2, linux-scsi, linux-kernel,
	user-mode-linux-devel, richard, geert, John Garry

Not every arch has io, so fix build by adding
necessary dependency.

Signed-off-by: John Garry <john.garry@huawei.com>
Suggested-by: Richard Weinberger <richard@nod.at>

diff --git a/drivers/scsi/hisi_sas/Kconfig b/drivers/scsi/hisi_sas/Kconfig
index b676618..d1dd161 100644
--- a/drivers/scsi/hisi_sas/Kconfig
+++ b/drivers/scsi/hisi_sas/Kconfig
@@ -1,6 +1,6 @@
 config SCSI_HISI_SAS
 	tristate "HiSilicon SAS"
-	depends on HAS_DMA
+	depends on HAS_DMA && HAS_IOMEM
 	depends on ARM64 || COMPILE_TEST
 	select SCSI_SAS_LIBSAS
 	select BLK_DEV_INTEGRITY
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] hisi_sas: add dependency for HAS_IOMEM
  2016-01-26 11:59 ` John Garry
@ 2016-01-27  2:17   ` Martin K. Petersen
  -1 siblings, 0 replies; 4+ messages in thread
From: Martin K. Petersen @ 2016-01-27  2:17 UTC (permalink / raw)
  To: John Garry
  Cc: JBottomley, martin.petersen, linuxarm, john.garry2, linux-scsi,
	linux-kernel, user-mode-linux-devel, richard, geert

>>>>> "John" == John Garry <john.garry@huawei.com> writes:

John> Not every arch has io, so fix build by adding necessary
John> dependency.

Ignore previous mail. Will apply this...

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] hisi_sas: add dependency for HAS_IOMEM
@ 2016-01-27  2:17   ` Martin K. Petersen
  0 siblings, 0 replies; 4+ messages in thread
From: Martin K. Petersen @ 2016-01-27  2:17 UTC (permalink / raw)
  To: John Garry
  Cc: JBottomley, martin.petersen, linuxarm, john.garry2, linux-scsi,
	linux-kernel, user-mode-linux-devel, richard, geert

>>>>> "John" == John Garry <john.garry@huawei.com> writes:

John> Not every arch has io, so fix build by adding necessary
John> dependency.

Ignore previous mail. Will apply this...

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-01-27  2:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-26 11:59 [PATCH] hisi_sas: add dependency for HAS_IOMEM John Garry
2016-01-26 11:59 ` John Garry
2016-01-27  2:17 ` Martin K. Petersen
2016-01-27  2:17   ` Martin K. Petersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.