netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/7] ptp_pch: Add dependency on HAS_IOMEM
@ 2014-01-14 15:45 Richard Weinberger
  2014-01-14 15:45 ` [PATCH 2/7] staging,dgap: " Richard Weinberger
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Richard Weinberger @ 2014-01-14 15:45 UTC (permalink / raw)
  To: kishon-l0cyMroinI0, anton-9xeibp6oKSgdnm+yROfE0A,
	dwmw2-wEGCiKHe2LqWVfeAwA7xHQ,
	richardcochran-Re5JQEeQqe8AvxtiuMwx3w,
	lidza.louina-Re5JQEeQqe8AvxtiuMwx3w,
	gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r,
	jic23-DgEjT+Ai2ygdnm+yROfE0A, davem-fT/PcQaiUtIeIZ0/mPfg9Q
  Cc: sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w,
	florian-p3rKhJxN3npAfugRpC6u6w,
	thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
	lars-Qo5EllUWu/uELgA04lAiVw, marex-ynQEQJNshbs,
	acourbot-DDmLM1+adcrQT0dZR+AlfA, netdev-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	driverdev-devel-tBiZLqfeLfOHmIFyCCdPziST3g8Odh+X,
	devel-gWbeCf7V1WCQmaza687I9mD2FQJk+8+b,
	linux-iio-u79uwXL29TY76Z2rM5mHXA, Richard Weinberger

On archs like S390 or um this driver cannot build nor work.
Make it depend on HAS_IOMEM to bypass build failures.

drivers/ptp/ptp_pch.c: In function ‘pch_remove’:
drivers/ptp/ptp_pch.c:571:3: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]
drivers/ptp/ptp_pch.c: In function ‘pch_probe’:
drivers/ptp/ptp_pch.c:621:2: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration]

Signed-off-by: Richard Weinberger <richard-/L3Ra7n9ekc@public.gmane.org>
---
 drivers/ptp/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig
index 5be73ba..5a7910e 100644
--- a/drivers/ptp/Kconfig
+++ b/drivers/ptp/Kconfig
@@ -73,6 +73,7 @@ config DP83640_PHY
 config PTP_1588_CLOCK_PCH
 	tristate "Intel PCH EG20T as PTP clock"
 	depends on X86 || COMPILE_TEST
+	depends on HAS_IOMEM
 	select PTP_1588_CLOCK
 	help
 	  This driver adds support for using the PCH EG20T as a PTP
-- 
1.8.1.4

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

* [PATCH 2/7] staging,dgap: Add dependency on HAS_IOMEM
  2014-01-14 15:45 [PATCH 1/7] ptp_pch: Add dependency on HAS_IOMEM Richard Weinberger
@ 2014-01-14 15:45 ` Richard Weinberger
  2014-01-14 15:45 ` [PATCH 3/7] staging,spear_adc: " Richard Weinberger
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Richard Weinberger @ 2014-01-14 15:45 UTC (permalink / raw)
  To: kishon, anton, dwmw2, richardcochran, lidza.louina, gregkh, jic23, davem
  Cc: sebastian.hesselbarth, florian, thomas.petazzoni, lars, marex,
	acourbot, netdev, linux-kernel, driverdev-devel, devel,
	linux-iio, Richard Weinberger

On archs like S390 or um this driver cannot build nor work.
Make it depend on HAS_IOMEM to bypass build failures.

drivers/staging/dgap/dgap_driver.c: In function ‘dgap_cleanup_board’:
drivers/staging/dgap/dgap_driver.c:457:3: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]
drivers/staging/dgap/dgap_driver.c: In function ‘dgap_do_remap’:
drivers/staging/dgap/dgap_driver.c:694:2: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration]

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 drivers/staging/dgap/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/dgap/Kconfig b/drivers/staging/dgap/Kconfig
index 31f1d75..3bbe9e1 100644
--- a/drivers/staging/dgap/Kconfig
+++ b/drivers/staging/dgap/Kconfig
@@ -1,6 +1,6 @@
 config DGAP
        tristate "Digi EPCA PCI products"
        default n
-       depends on TTY
+       depends on TTY && HAS_IOMEM
        ---help---
        Driver for the Digi International EPCA PCI based product line
-- 
1.8.1.4

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

* [PATCH 3/7] staging,spear_adc: Add dependency on HAS_IOMEM
  2014-01-14 15:45 [PATCH 1/7] ptp_pch: Add dependency on HAS_IOMEM Richard Weinberger
  2014-01-14 15:45 ` [PATCH 2/7] staging,dgap: " Richard Weinberger
@ 2014-01-14 15:45 ` Richard Weinberger
       [not found]   ` <1389714345-20165-3-git-send-email-richard-/L3Ra7n9ekc@public.gmane.org>
  2014-01-14 15:45 ` [PATCH 4/7] phy,exynos: " Richard Weinberger
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 10+ messages in thread
From: Richard Weinberger @ 2014-01-14 15:45 UTC (permalink / raw)
  To: kishon, anton, dwmw2, richardcochran, lidza.louina, gregkh, jic23, davem
  Cc: sebastian.hesselbarth, florian, thomas.petazzoni, lars, marex,
	acourbot, netdev, linux-kernel, driverdev-devel, devel,
	linux-iio, Richard Weinberger

On archs like S390 or um this driver cannot build nor work.
Make it depend on HAS_IOMEM to bypass build failures.

drivers/staging/iio/adc/spear_adc.c: In function ‘spear_adc_probe’:
drivers/staging/iio/adc/spear_adc.c:393:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 drivers/staging/iio/adc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig
index e3d6430..7d5d675 100644
--- a/drivers/staging/iio/adc/Kconfig
+++ b/drivers/staging/iio/adc/Kconfig
@@ -128,6 +128,7 @@ config MXS_LRADC
 config SPEAR_ADC
 	tristate "ST SPEAr ADC"
 	depends on PLAT_SPEAR || COMPILE_TEST
+	depends on HAS_IOMEM
 	help
 	  Say yes here to build support for the integrated ADC inside the
 	  ST SPEAr SoC. Provides direct access via sysfs.
-- 
1.8.1.4

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

* [PATCH 4/7] phy,exynos: Add dependency on HAS_IOMEM
  2014-01-14 15:45 [PATCH 1/7] ptp_pch: Add dependency on HAS_IOMEM Richard Weinberger
  2014-01-14 15:45 ` [PATCH 2/7] staging,dgap: " Richard Weinberger
  2014-01-14 15:45 ` [PATCH 3/7] staging,spear_adc: " Richard Weinberger
@ 2014-01-14 15:45 ` Richard Weinberger
  2014-01-14 15:45 ` [PATCH 5/7] net,marvell: " Richard Weinberger
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Richard Weinberger @ 2014-01-14 15:45 UTC (permalink / raw)
  To: kishon, anton, dwmw2, richardcochran, lidza.louina, gregkh, jic23, davem
  Cc: sebastian.hesselbarth, florian, thomas.petazzoni, lars, marex,
	acourbot, netdev, linux-kernel, driverdev-devel, devel,
	linux-iio, Richard Weinberger

On archs like S390 or um this driver cannot build nor work.
Make it depend on HAS_IOMEM to bypass build failures.

drivers/built-in.o: In function `exynos_mipi_video_phy_probe':
drivers/phy/phy-exynos-mipi-video.c:130: undefined reference to `devm_ioremap_resource'

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 drivers/phy/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index 330ef2d..a8b17ce 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -16,6 +16,7 @@ config GENERIC_PHY
 	  framework should select this config.
 
 config PHY_EXYNOS_MIPI_VIDEO
+	depends on HAS_IOMEM
 	tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
 	help
 	  Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
-- 
1.8.1.4

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

* [PATCH 5/7] net,marvell: Add dependency on HAS_IOMEM
  2014-01-14 15:45 [PATCH 1/7] ptp_pch: Add dependency on HAS_IOMEM Richard Weinberger
                   ` (2 preceding siblings ...)
  2014-01-14 15:45 ` [PATCH 4/7] phy,exynos: " Richard Weinberger
@ 2014-01-14 15:45 ` Richard Weinberger
  2014-01-14 15:45 ` [PATCH 6/7] power,goldfish: " Richard Weinberger
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Richard Weinberger @ 2014-01-14 15:45 UTC (permalink / raw)
  To: kishon, anton, dwmw2, richardcochran, lidza.louina, gregkh, jic23, davem
  Cc: sebastian.hesselbarth, florian, thomas.petazzoni, lars, marex,
	acourbot, netdev, linux-kernel, driverdev-devel, devel,
	linux-iio, Richard Weinberger

On archs like S390 or um this driver cannot build nor work.
Make it depend on HAS_IOMEM to bypass build failures.

drivers/built-in.o: In function `orion_mdio_probe':
drivers/net/ethernet/marvell/mvmdio.c:228: undefined reference to `devm_ioremap'

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 drivers/net/ethernet/marvell/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/marvell/Kconfig b/drivers/net/ethernet/marvell/Kconfig
index a49e81b..6300fd2 100644
--- a/drivers/net/ethernet/marvell/Kconfig
+++ b/drivers/net/ethernet/marvell/Kconfig
@@ -33,6 +33,7 @@ config MV643XX_ETH
 
 config MVMDIO
 	tristate "Marvell MDIO interface support"
+	depends on HAS_IOMEM
 	select PHYLIB
 	---help---
 	  This driver supports the MDIO interface found in the network
-- 
1.8.1.4

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

* [PATCH 6/7] power,goldfish: Add dependency on HAS_IOMEM
  2014-01-14 15:45 [PATCH 1/7] ptp_pch: Add dependency on HAS_IOMEM Richard Weinberger
                   ` (3 preceding siblings ...)
  2014-01-14 15:45 ` [PATCH 5/7] net,marvell: " Richard Weinberger
@ 2014-01-14 15:45 ` Richard Weinberger
  2014-01-14 15:45 ` [PATCH 7/7] staging,lpc32xx_adc: " Richard Weinberger
  2014-01-15 22:51 ` [PATCH 1/7] ptp_pch: " David Miller
  6 siblings, 0 replies; 10+ messages in thread
From: Richard Weinberger @ 2014-01-14 15:45 UTC (permalink / raw)
  To: kishon, anton, dwmw2, richardcochran, lidza.louina, gregkh, jic23, davem
  Cc: sebastian.hesselbarth, florian, thomas.petazzoni, lars, marex,
	acourbot, netdev, linux-kernel, driverdev-devel, devel,
	linux-iio, Richard Weinberger

On archs like S390 or um this driver cannot build nor work.
Make it depend on HAS_IOMEM to bypass build failures.

drivers/built-in.o: In function `goldfish_battery_probe':
drivers/power/goldfish_battery.c:181: undefined reference to `devm_ioremap'

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 drivers/power/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 85ad58c..32c6294 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -377,6 +377,7 @@ config AB8500_BM
 config BATTERY_GOLDFISH
 	tristate "Goldfish battery driver"
 	depends on GOLDFISH || COMPILE_TEST
+	depends on HAS_IOMEM
 	help
 	  Say Y to enable support for the battery and AC power in the
 	  Goldfish emulator.
-- 
1.8.1.4

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

* [PATCH 7/7] staging,lpc32xx_adc: Add dependency on HAS_IOMEM
  2014-01-14 15:45 [PATCH 1/7] ptp_pch: Add dependency on HAS_IOMEM Richard Weinberger
                   ` (4 preceding siblings ...)
  2014-01-14 15:45 ` [PATCH 6/7] power,goldfish: " Richard Weinberger
@ 2014-01-14 15:45 ` Richard Weinberger
  2014-01-18 11:50   ` Jonathan Cameron
  2014-01-15 22:51 ` [PATCH 1/7] ptp_pch: " David Miller
  6 siblings, 1 reply; 10+ messages in thread
From: Richard Weinberger @ 2014-01-14 15:45 UTC (permalink / raw)
  To: kishon, anton, dwmw2, richardcochran, lidza.louina, gregkh, jic23, davem
  Cc: sebastian.hesselbarth, florian, thomas.petazzoni, lars, marex,
	acourbot, netdev, linux-kernel, driverdev-devel, devel,
	linux-iio, Richard Weinberger

On archs like S390 or um this driver cannot build nor work.
Make it depend on HAS_IOMEM to bypass build failures.

drivers/built-in.o: In function `lpc32xx_adc_probe':
drivers/staging/iio/adc/lpc32xx_adc.c:149: undefined reference to `devm_ioremap'

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 drivers/staging/iio/adc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig
index 7d5d675..3633298 100644
--- a/drivers/staging/iio/adc/Kconfig
+++ b/drivers/staging/iio/adc/Kconfig
@@ -103,6 +103,7 @@ config AD7280
 config LPC32XX_ADC
 	tristate "NXP LPC32XX ADC"
 	depends on ARCH_LPC32XX || COMPILE_TEST
+	depends on HAS_IOMEM
 	help
 	  Say yes here to build support for the integrated ADC inside the
 	  LPC32XX SoC. Note that this feature uses the same hardware as the
-- 
1.8.1.4

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

* Re: [PATCH 1/7] ptp_pch: Add dependency on HAS_IOMEM
  2014-01-14 15:45 [PATCH 1/7] ptp_pch: Add dependency on HAS_IOMEM Richard Weinberger
                   ` (5 preceding siblings ...)
  2014-01-14 15:45 ` [PATCH 7/7] staging,lpc32xx_adc: " Richard Weinberger
@ 2014-01-15 22:51 ` David Miller
  6 siblings, 0 replies; 10+ messages in thread
From: David Miller @ 2014-01-15 22:51 UTC (permalink / raw)
  To: richard
  Cc: marex, lars, driverdev-devel, linux-iio, lidza.louina,
	richardcochran, anton, linux-kernel, kishon, netdev, acourbot,
	gregkh, devel, dwmw2, florian, jic23, sebastian.hesselbarth


All 7 patches applied, thank you.

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

* Re: [PATCH 3/7] staging,spear_adc: Add dependency on HAS_IOMEM
       [not found]   ` <1389714345-20165-3-git-send-email-richard-/L3Ra7n9ekc@public.gmane.org>
@ 2014-01-18 11:41     ` Jonathan Cameron
  0 siblings, 0 replies; 10+ messages in thread
From: Jonathan Cameron @ 2014-01-18 11:41 UTC (permalink / raw)
  To: Richard Weinberger, kishon-l0cyMroinI0,
	anton-9xeibp6oKSgdnm+yROfE0A, dwmw2-wEGCiKHe2LqWVfeAwA7xHQ,
	richardcochran-Re5JQEeQqe8AvxtiuMwx3w,
	lidza.louina-Re5JQEeQqe8AvxtiuMwx3w,
	gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r,
	davem-fT/PcQaiUtIeIZ0/mPfg9Q
  Cc: sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w,
	florian-p3rKhJxN3npAfugRpC6u6w,
	thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
	lars-Qo5EllUWu/uELgA04lAiVw, marex-ynQEQJNshbs,
	acourbot-DDmLM1+adcrQT0dZR+AlfA, netdev-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	driverdev-devel-tBiZLqfeLfOHmIFyCCdPziST3g8Odh+X,
	devel-gWbeCf7V1WCQmaza687I9mD2FQJk+8+b,
	linux-iio-u79uwXL29TY76Z2rM5mHXA

On 14/01/14 15:45, Richard Weinberger wrote:
> On archs like S390 or um this driver cannot build nor work.
> Make it depend on HAS_IOMEM to bypass build failures.
>
> drivers/staging/iio/adc/spear_adc.c: In function ‘spear_adc_probe’:
> drivers/staging/iio/adc/spear_adc.c:393:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration
>
> Signed-off-by: Richard Weinberger <richard-/L3Ra7n9ekc@public.gmane.org>
Applied to the fixes-togreg branch of iio.git

Thanks,
> ---
>   drivers/staging/iio/adc/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig
> index e3d6430..7d5d675 100644
> --- a/drivers/staging/iio/adc/Kconfig
> +++ b/drivers/staging/iio/adc/Kconfig
> @@ -128,6 +128,7 @@ config MXS_LRADC
>   config SPEAR_ADC
>   	tristate "ST SPEAr ADC"
>   	depends on PLAT_SPEAR || COMPILE_TEST
> +	depends on HAS_IOMEM
>   	help
>   	  Say yes here to build support for the integrated ADC inside the
>   	  ST SPEAr SoC. Provides direct access via sysfs.
>

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

* Re: [PATCH 7/7] staging,lpc32xx_adc: Add dependency on HAS_IOMEM
  2014-01-14 15:45 ` [PATCH 7/7] staging,lpc32xx_adc: " Richard Weinberger
@ 2014-01-18 11:50   ` Jonathan Cameron
  0 siblings, 0 replies; 10+ messages in thread
From: Jonathan Cameron @ 2014-01-18 11:50 UTC (permalink / raw)
  To: Richard Weinberger, kishon, anton, dwmw2, richardcochran,
	lidza.louina, gregkh, davem
  Cc: marex, lars, linux-iio, netdev, driverdev-devel, linux-kernel,
	acourbot, devel, florian, sebastian.hesselbarth



On 14/01/14 15:45, Richard Weinberger wrote:
> On archs like S390 or um this driver cannot build nor work.
> Make it depend on HAS_IOMEM to bypass build failures.
>
> drivers/built-in.o: In function `lpc32xx_adc_probe':
> drivers/staging/iio/adc/lpc32xx_adc.c:149: undefined reference to `devm_ioremap'
>
> Signed-off-by: Richard Weinberger <richard@nod.at>
applied to the fixes-togreg branch of iio.git

Thanks,
> ---
>   drivers/staging/iio/adc/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig
> index 7d5d675..3633298 100644
> --- a/drivers/staging/iio/adc/Kconfig
> +++ b/drivers/staging/iio/adc/Kconfig
> @@ -103,6 +103,7 @@ config AD7280
>   config LPC32XX_ADC
>   	tristate "NXP LPC32XX ADC"
>   	depends on ARCH_LPC32XX || COMPILE_TEST
> +	depends on HAS_IOMEM
>   	help
>   	  Say yes here to build support for the integrated ADC inside the
>   	  LPC32XX SoC. Note that this feature uses the same hardware as the
>

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

end of thread, other threads:[~2014-01-18 11:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-14 15:45 [PATCH 1/7] ptp_pch: Add dependency on HAS_IOMEM Richard Weinberger
2014-01-14 15:45 ` [PATCH 2/7] staging,dgap: " Richard Weinberger
2014-01-14 15:45 ` [PATCH 3/7] staging,spear_adc: " Richard Weinberger
     [not found]   ` <1389714345-20165-3-git-send-email-richard-/L3Ra7n9ekc@public.gmane.org>
2014-01-18 11:41     ` Jonathan Cameron
2014-01-14 15:45 ` [PATCH 4/7] phy,exynos: " Richard Weinberger
2014-01-14 15:45 ` [PATCH 5/7] net,marvell: " Richard Weinberger
2014-01-14 15:45 ` [PATCH 6/7] power,goldfish: " Richard Weinberger
2014-01-14 15:45 ` [PATCH 7/7] staging,lpc32xx_adc: " Richard Weinberger
2014-01-18 11:50   ` Jonathan Cameron
2014-01-15 22:51 ` [PATCH 1/7] ptp_pch: " David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).