public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: Jaehoon Chung <jh80.chung@samsung.com>
To: Jingoo Han <jg1.han@samsung.com>
Cc: 'Dinh Nguyen' <dinguyen@altera.com>,
	'Jaehoon Chung' <jh80.chung@samsung.com>,
	'Chris Ball' <cjb@laptop.org>,
	linux-mmc@vger.kernel.org, 'Seungwon Jeon' <tgih.jun@samsung.com>,
	'Fengguang Wu' <fengguang.wu@intel.com>,
	Dan Carpenter <dan.carpenter@oracle.com>,
	Arnd Bergmann <arnd@arndb.de>
Subject: Re: [PATCH] mmc: dw_mmc: add missing MFD_SYSCON dependency for SOCFPGA
Date: Fri, 02 Aug 2013 12:48:28 +0900	[thread overview]
Message-ID: <51FB2C0C.3050102@samsung.com> (raw)
In-Reply-To: <000901ce8f0d$ec52f6d0$c4f8e470$@samsung.com>

Hi Jingoo,

I checked exynos_defconfig as your comment.
I also found the compiler error. thanks for your effort.

Acked-by: Jaehoon Chung <jh80.chung@samsung.com>

Best Regards,
Jaehoon Chung

On 08/02/2013 08:22 AM, Jingoo Han wrote:
> On Thursday, August 01, 2013 11:59 PM, Dinh Nguyen wrote:
>> On Thu, 2013-08-01 at 23:52 +0900, Jaehoon Chung wrote:
>>> When I used socfpga_defconfig, MFD_SYSCON is enabled.
>>> Which config do you use?
>>>
>>
>> Yes, select MFD_SYSCON is in mach-socfpga/Kconfig. This should have
>> fixed this error.
>>
>> commit 1780db9e2104 ARM: socfpga: Add syscon to be part of socfpga
> 
> +CC Fengguang Wu, Dan Carpenter, Arnd Bergmann
> 
> I used exynos_defconfig, and enabled socfpga mmc driver through menuconfig.
> Also, 'drivers/mmc/host/dw_mmc-socfpga.c' is used by ARCH_SOCFPGA.
> However, even though other configs are used, it should not make build error
> or link error.
> 
> Please look at other drivers using MFD_SYSCON.
> i.mx config also selects MFD_SYSCON; however, it added MFD_SYSCON
> dependency in order to prevent link error.
> 
> (./arch/arm/mach-imx/Kconfig)
> 786: config SOC_IMX6Q
> 804:	select MFD_SYSCON
> 
> 813: config SOC_IMX6SL
> 825:	select MFD_SYSCON
> 
>  (./drivers/regulator/Kconfig)
> 90: config REGULATOR_ANATOP
> 91:    tristate "Freescale i.MX on-chip ANATOP LDO regulators"
> 92:    depends on MFD_SYSCON
> 
> 
> Best regards,
> Jingoo Han
> 
>>
>> Dinh
>>> Best Regards,
>>> Jaehoon Chung
>>>
>>> On 08/01/2013 09:28 AM, Jingoo Han wrote:
>>>> Added missing MFD_SYSCON dependency for SOCFPGA in order to fix
>>>> the following link error.
>>>>
>>>> drivers/mmc/host/dw_mmc-socfpga.c:49: undefined reference to `syscon_regmap_lookup_by_compatible'
>>>>
>>>> Signed-off-by: Jingoo Han <jg1.han@samsung.com>
>>>> ---
>>>>  drivers/mmc/host/Kconfig |    2 +-
>>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
>>>> index 8a4c066..84102bc 100644
>>>> --- a/drivers/mmc/host/Kconfig
>>>> +++ b/drivers/mmc/host/Kconfig
>>>> @@ -569,7 +569,7 @@ config MMC_DW_EXYNOS
>>>>
>>>>  config MMC_DW_SOCFPGA
>>>>  	tristate "SOCFPGA specific extensions for Synopsys DW Memory Card Interface"
>>>> -	depends on MMC_DW
>>>> +	depends on MMC_DW && MFD_SYSCON
>>>>  	select MMC_DW_PLTFM
>>>>  	help
>>>>  	  This selects support for Altera SoCFPGA specific extensions to the
>>>>
>>>
>>>
>>
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


  reply	other threads:[~2013-08-02  3:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-01  0:28 [PATCH] mmc: dw_mmc: add missing MFD_SYSCON dependency for SOCFPGA Jingoo Han
2013-08-01 14:52 ` Jaehoon Chung
2013-08-01 14:59   ` Dinh Nguyen
2013-08-01 23:22     ` Jingoo Han
2013-08-02  3:48       ` Jaehoon Chung [this message]
2013-08-09 13:31 ` Seungwon Jeon
2013-08-25  3:33   ` Chris Ball

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=51FB2C0C.3050102@samsung.com \
    --to=jh80.chung@samsung.com \
    --cc=arnd@arndb.de \
    --cc=cjb@laptop.org \
    --cc=dan.carpenter@oracle.com \
    --cc=dinguyen@altera.com \
    --cc=fengguang.wu@intel.com \
    --cc=jg1.han@samsung.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=tgih.jun@samsung.com \
    /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