Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1509113

Re: [PATCH v2] ARM: davinci: da8xx: Fix some redefined symbol warnings

From Sekhar Nori <nsekhar@ti.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] ARM: davinci: da8xx: Fix some redefined symbol warnings
Date 2016-10-26 14:00 +0200
Message-ID <swv29-35P-9@gated-at.bofh.it> (permalink)
References <sw8RY-5yg-5@gated-at.bofh.it> <sw8RY-5yg-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tuesday 25 October 2016 05:41 PM, Alexandre Bailon wrote:
> Some macro for DA8xx CFGCHIP are defined in usb-davinci.h,
> but da8xx-cfgchip.h intend to replace them.
> The usb-da8xx.c is using both headers, causing redefined symbol warnings.
> Remove the macro and update the da830-evm board file to use da8xx-cfgchip.h
> 
> Signed-off-by: Alexandre Bailon <abailon@baylibre.com>

This leads to build error on v4.9-rc2:

arch/arm/mach-davinci/board-da830-evm.c: In function 'da830_evm_usb_init':
arch/arm/mach-davinci/board-da830-evm.c:120:15: error: 'CFGCHIP2_REFFREQ' undeclared (first use in this function)
  cfgchip2 &= ~CFGCHIP2_REFFREQ;

Thanks,
Sekhar

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] ARM: davinci: da8xx: Fix some redefined symbol warnings Alexandre Bailon <abailon@baylibre.com> - 2016-10-25 14:20 +0200
  Re: [PATCH v2] ARM: davinci: da8xx: Fix some redefined symbol  warnings Sekhar Nori <nsekhar@ti.com> - 2016-10-26 14:00 +0200
    Re: [PATCH v2] ARM: davinci: da8xx: Fix some redefined symbol  warnings Alexandre Bailon <abailon@baylibre.com> - 2016-10-26 14:50 +0200

csiph-web