From: James Hogan <james.hogan@imgtec.com>
To: Purna Chandra Mandal <purna.mandal@microchip.com>
Cc: <linux-kernel@vger.kernel.org>, <linux-mips@linux-mips.org>,
Ralf Baechle <ralf@linux-mips.org>,
Harvey Hunt <harvey.hunt@imgtec.com>,
Joshua Henderson <digitalpeer@digitalpeer.com>
Subject: Re: [PATCH v2] MIPS: pic32mzda: fix linker error for pic32_get_pbclk().
Date: Tue, 14 Feb 2017 09:08:04 +0000 [thread overview]
Message-ID: <20170214090804.GO24226@jhogan-linux.le.imgtec.org> (raw)
In-Reply-To: <1464859302-26537-1-git-send-email-purna.mandal@microchip.com>
[-- Attachment #1: Type: text/plain, Size: 1525 bytes --]
On Thu, Jun 02, 2016 at 02:51:42PM +0530, Purna Chandra Mandal wrote:
> Early clock API pic32_get_pbclk() is defined in early_clk.c and
> used by time.c and early_console.c. When CONFIG_EARLY_PRINTK isn't
> set, early_clk.c isn't compiled and time.c fails to link.
>
> Fix it by compiling early_clk.c always. Also sort files in
> alphabetical order.
>
> Cc: Harvey Hunt <harvey.hunt@imgtec.com>
> Cc: Ralf Baechle <ralf@linux-mips.org>
> Cc: linux-mips@linux-mips.org
> Cc: Joshua Henderson <digitalpeer@digitalpeer.com>
>
> Reported-by: Harvey Hunt <harvey.hunt@imgtec.com>
> Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
> Reviewed-by: Harvey Hunt <harvey.hunt@imgtec.com>
Applied
Thanks
James
>
> ---
>
> Changes in v2:
> - update commit message
>
> arch/mips/pic32/pic32mzda/Makefile | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/arch/mips/pic32/pic32mzda/Makefile b/arch/mips/pic32/pic32mzda/Makefile
> index 4a4c272..c286496 100644
> --- a/arch/mips/pic32/pic32mzda/Makefile
> +++ b/arch/mips/pic32/pic32mzda/Makefile
> @@ -2,8 +2,7 @@
> # Joshua Henderson, <joshua.henderson@microchip.com>
> # Copyright (C) 2015 Microchip Technology, Inc. All rights reserved.
> #
> -obj-y := init.o time.o config.o
> +obj-y := config.o early_clk.o init.o time.o
>
> obj-$(CONFIG_EARLY_PRINTK) += early_console.o \
> - early_pin.o \
> - early_clk.o
> + early_pin.o
> --
> 1.8.3.1
>
>
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
prev parent reply other threads:[~2017-02-14 9:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-02 9:21 Purna Chandra Mandal
2017-02-14 9:08 ` James Hogan [this message]
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=20170214090804.GO24226@jhogan-linux.le.imgtec.org \
--to=james.hogan@imgtec.com \
--cc=digitalpeer@digitalpeer.com \
--cc=harvey.hunt@imgtec.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=purna.mandal@microchip.com \
--cc=ralf@linux-mips.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
all inboxes | Powered by JetHome®