From: Archit Taneja <architt@codeaurora.org>
To: Luis Henriques <luis.henriques@canonical.com>,
David Airlie <airlied@linux.ie>, Rob Clark <robdclark@gmail.com>
Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm/msm/dsi: fix definition of msm_dsi_pll_28nm_8960_init()
Date: Thu, 4 Feb 2016 10:39:25 +0530 [thread overview]
Message-ID: <56B2DD05.1070405@codeaurora.org> (raw)
In-Reply-To: <1454509515-2365-1-git-send-email-luis.henriques@canonical.com>
On 02/03/2016 07:55 PM, Luis Henriques wrote:
> This fixes the following build failure:
>
> drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.o: In function `msm_dsi_pll_28nm_8960_init':
> dsi_pll_28nm.c:(.text+0x1198): multiple definition of `msm_dsi_pll_28nm_8960_init'
> drivers/gpu/drm/msm/dsi/pll/dsi_pll.o:dsi_pll.c:(.text+0x0): first defined here
Thanks for the fix.
Acked-by: Archit Taneja <architt@codeaurora.org>
Dave,
Could you please queue this for the next -rc cycle since it causes a
build break?
Thanks,
Archit
>
> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
> ---
> drivers/gpu/drm/msm/dsi/pll/dsi_pll.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/msm/dsi/pll/dsi_pll.h b/drivers/gpu/drm/msm/dsi/pll/dsi_pll.h
> index 80b6038334a6..2cf1664723e8 100644
> --- a/drivers/gpu/drm/msm/dsi/pll/dsi_pll.h
> +++ b/drivers/gpu/drm/msm/dsi/pll/dsi_pll.h
> @@ -97,8 +97,8 @@ static inline struct msm_dsi_pll *msm_dsi_pll_28nm_init(
> struct msm_dsi_pll *msm_dsi_pll_28nm_8960_init(struct platform_device *pdev,
> int id);
> #else
> -struct msm_dsi_pll *msm_dsi_pll_28nm_8960_init(struct platform_device *pdev,
> - int id)
> +static inline struct msm_dsi_pll *msm_dsi_pll_28nm_8960_init(
> + struct platform_device *pdev, int id)
> {
> return ERR_PTR(-ENODEV);
> }
>
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora
Forum, hosted by The Linux Foundation
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
WARNING: multiple messages have this Message-ID (diff)
From: Archit Taneja <architt@codeaurora.org>
To: Luis Henriques <luis.henriques@canonical.com>,
David Airlie <airlied@linux.ie>, Rob Clark <robdclark@gmail.com>
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drm/msm/dsi: fix definition of msm_dsi_pll_28nm_8960_init()
Date: Thu, 4 Feb 2016 10:39:25 +0530 [thread overview]
Message-ID: <56B2DD05.1070405@codeaurora.org> (raw)
In-Reply-To: <1454509515-2365-1-git-send-email-luis.henriques@canonical.com>
On 02/03/2016 07:55 PM, Luis Henriques wrote:
> This fixes the following build failure:
>
> drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.o: In function `msm_dsi_pll_28nm_8960_init':
> dsi_pll_28nm.c:(.text+0x1198): multiple definition of `msm_dsi_pll_28nm_8960_init'
> drivers/gpu/drm/msm/dsi/pll/dsi_pll.o:dsi_pll.c:(.text+0x0): first defined here
Thanks for the fix.
Acked-by: Archit Taneja <architt@codeaurora.org>
Dave,
Could you please queue this for the next -rc cycle since it causes a
build break?
Thanks,
Archit
>
> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
> ---
> drivers/gpu/drm/msm/dsi/pll/dsi_pll.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/msm/dsi/pll/dsi_pll.h b/drivers/gpu/drm/msm/dsi/pll/dsi_pll.h
> index 80b6038334a6..2cf1664723e8 100644
> --- a/drivers/gpu/drm/msm/dsi/pll/dsi_pll.h
> +++ b/drivers/gpu/drm/msm/dsi/pll/dsi_pll.h
> @@ -97,8 +97,8 @@ static inline struct msm_dsi_pll *msm_dsi_pll_28nm_init(
> struct msm_dsi_pll *msm_dsi_pll_28nm_8960_init(struct platform_device *pdev,
> int id);
> #else
> -struct msm_dsi_pll *msm_dsi_pll_28nm_8960_init(struct platform_device *pdev,
> - int id)
> +static inline struct msm_dsi_pll *msm_dsi_pll_28nm_8960_init(
> + struct platform_device *pdev, int id)
> {
> return ERR_PTR(-ENODEV);
> }
>
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora
Forum, hosted by The Linux Foundation
next prev parent reply other threads:[~2016-02-04 5:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-03 14:25 [PATCH] drm/msm/dsi: fix definition of msm_dsi_pll_28nm_8960_init() Luis Henriques
2016-02-04 5:09 ` Archit Taneja [this message]
2016-02-04 5:09 ` Archit Taneja
2016-03-13 21:12 ` Kieran Bingham
2016-03-13 21:12 ` Kieran Bingham
2016-03-14 1:07 ` Rob Clark
2016-03-14 1:07 ` Rob Clark
2016-03-14 7:59 ` Kieran Bingham
2016-03-14 10:51 ` Rob Clark
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=56B2DD05.1070405@codeaurora.org \
--to=architt@codeaurora.org \
--cc=airlied@linux.ie \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luis.henriques@canonical.com \
--cc=robdclark@gmail.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 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.