lkml.org 
[lkml]   [2011]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 12/30] ARM: omap4: always build omap_phy_internal
    Date
    The functions defined in omap_phy_internal.c are requrired on
    omap4-only configurations, not just for specific boards.

    twl-common.c:(.init.text+0x6b40): undefined reference to `omap4430_phy_init'
    twl-common.c:(.init.text+0x6c68): undefined reference to `omap4430_phy_init'
    mach-omap2/built-in.o:(.data+0x154e0): undefined reference to `omap4430_phy_init'
    mach-omap2/built-in.o:(.data+0x154e4): undefined reference to `omap4430_phy_exit'

    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    ---
    arch/arm/mach-omap2/Makefile | 8 +++-----
    1 files changed, 3 insertions(+), 5 deletions(-)

    diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
    index f343365..dc36bd4 100644
    --- a/arch/arm/mach-omap2/Makefile
    +++ b/arch/arm/mach-omap2/Makefile
    @@ -242,12 +242,9 @@ obj-$(CONFIG_MACH_IGEP0020) += board-igep0020.o \
    obj-$(CONFIG_MACH_OMAP3_TOUCHBOOK) += board-omap3touchbook.o \
    hsmmc.o
    obj-$(CONFIG_MACH_OMAP_4430SDP) += board-4430sdp.o \
    - hsmmc.o \
    - omap_phy_internal.o
    + hsmmc.o
    obj-$(CONFIG_MACH_OMAP4_PANDA) += board-omap4panda.o \
    - hsmmc.o \
    - omap_phy_internal.o
    -
    + hsmmc.o
    obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o \
    omap_phy_internal.o \

    @@ -275,6 +272,7 @@ obj-y += $(smc91x-m) $(smc91x-y)
    smsc911x-$(CONFIG_SMSC911X) := gpmc-smsc911x.o
    obj-y += $(smsc911x-m) $(smsc911x-y)
    obj-$(CONFIG_ARCH_OMAP4) += hwspinlock.o
    +obj-$(CONFIG_ARCH_OMAP4) += omap_phy_internal.o

    disp-$(CONFIG_OMAP2_DSS) := display.o
    obj-y += $(disp-m) $(disp-y)
    --
    1.7.5.4


    \
     
     \ /
      Last update: 2011-10-02 16:53    [W:0.026 / U:0.564 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site