public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kishon Vijay Abraham I <kishon@ti.com>
To: <gregkh@linuxfoundation.org>
Cc: <kishon@ti.com>, <linux-kernel@vger.kernel.org>
Subject: [PATCH 7/7] phy: Fix armada375 compile test build on UM
Date: Wed, 2 Mar 2016 11:38:53 +0530	[thread overview]
Message-ID: <1456898933-16679-8-git-send-email-kishon@ti.com> (raw)
In-Reply-To: <1456898933-16679-1-git-send-email-kishon@ti.com>

From: Krzysztof Kozlowski <k.kozlowski@samsung.com>

The phy-armada375-usb2 driver uses IOMEM functions so COMPILE_TEST && OF
build failed with:

drivers/built-in.o: In function `armada375_usb_phy_probe':
phy-armada375-usb2.c:(.text+0x121d): undefined reference to
`devm_ioremap_resource'

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 drivers/phy/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index f58e870..26566db 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -32,7 +32,7 @@ config PHY_BERLIN_SATA
 config ARMADA375_USBCLUSTER_PHY
 	def_bool y
 	depends on MACH_ARMADA_375 || COMPILE_TEST
-	depends on OF
+	depends on OF && HAS_IOMEM
 	select GENERIC_PHY
 
 config PHY_DM816X_USB
-- 
1.7.9.5

  parent reply	other threads:[~2016-03-02  6:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-02  6:08 [GIT PULL] phy: for 4.6 merge window Kishon Vijay Abraham I
2016-03-02  6:08 ` [PATCH 1/7] Documentation: bindings: add dt documentation for Rockchip eMMC PHY Kishon Vijay Abraham I
2016-03-02  6:08 ` [PATCH 2/7] phy: add a driver for the Rockchip SoC internal " Kishon Vijay Abraham I
2016-03-02  6:08 ` [PATCH 3/7] phy: Add driver for rockchip Display Port PHY Kishon Vijay Abraham I
2016-03-02  6:08 ` [PATCH 4/7] dt-bindings: add document for rockchip dp phy Kishon Vijay Abraham I
2016-03-02  6:08 ` [PATCH 5/7] phy: rockchip-usb: add handler for usb-uart functionality Kishon Vijay Abraham I
2016-03-02  6:08 ` [PATCH 6/7] phy: rcar-gen3-usb2: remove HSUSB registers handling Kishon Vijay Abraham I
2016-03-02  6:08 ` Kishon Vijay Abraham I [this message]
2016-03-05 20:23 ` [GIT PULL] phy: for 4.6 merge window Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1456898933-16679-8-git-send-email-kishon@ti.com \
    --to=kishon@ti.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox