Re: [PATCH v2] MIPS: pic32mzda: fix linker error for pic32_get_pbclk().

2017-02-14 Thread James Hogan
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

Re: [PATCH v2] MIPS: pic32mzda: fix linker error for pic32_get_pbclk().

2017-02-14 Thread James Hogan
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

[PATCH v2] MIPS: pic32mzda: fix linker error for pic32_get_pbclk().

2016-06-02 Thread Purna Chandra Mandal
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

[PATCH v2] MIPS: pic32mzda: fix linker error for pic32_get_pbclk().

2016-06-02 Thread Purna Chandra Mandal
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 Cc: Ralf