• Suman Anna's avatar
    ARM: OMAP3: PRM/CM: Add back macros used by TI DSP/Bridge driver · 0cd8d405
    Suman Anna authored
    The commit 7be914f2 {ARM: OMAP3: PRM/CM: Cleanup unused header} removed
    some of the macros used by the TI DSP/Bridge driver. This fixes the
    following build errors when trying to build DSP/Bridge driver (disabled
    at present), otherwise results in the following build errors:
    
    drivers/staging/tidspbridge/core/tiomap3430.c:531:31: error: 'OMAP3430_AUTO_IVA2_DPLL_SHIFT' undeclared (first use in this function)
    drivers/staging/tidspbridge/core/tiomap3430.c:531:31: note: each undeclared identifier is reported only once for each function it appears in
    make[3]: *** [drivers/staging/tidspbridge/core/tiomap3430.o] Error 1
    make[3]: *** Waiting for unfinished jobs....
    drivers/staging/tidspbridge/core/tiomap_io.c: In function 'sm_interrupt_dsp':
    drivers/staging/tidspbridge/core/tiomap_io.c:404:31: error: 'OMAP3430_AUTO_IVA2_DPLL_SHIFT' undeclared (first use in this function)
    drivers/staging/tidspbridge/core/tiomap_io.c:404:31: note: each undeclared identifier is reported only once for each function it appears in
    drivers/staging/tidspbridge/core/tiomap_io.c:414:12: error: 'OMAP3430_IVA2_DPLL_FREQSEL_SHIFT' undeclared (first use in this function)
    drivers/staging/tidspbridge/core/tiomap_io.c:415:12: error: 'OMAP3430_EN_IVA2_DPLL_SHIFT' undeclared (first use in this function)
    make[3]: *** [drivers/staging/tidspbridge/core/tiomap_io.o] Error 1
    drivers/staging/tidspbridge/core/tiomap3430_pwr.c: In function 'dsp_clk_wakeup_event_ctrl':
    drivers/staging/tidspbridge/core/tiomap3430_pwr.c:442:19: error: 'OMAP3430_GRPSEL_GPT5_MASK' undeclared (first use in this function)
    drivers/staging/tidspbridge/core/tiomap3430_pwr.c:442:19: note: each undeclared identifier is reported only once for each function it appears in
    drivers/staging/tidspbridge/core/tiomap3430_pwr.c:455:19: error: 'OMAP3430_GRPSEL_GPT6_MASK' undeclared (first use in this function)
    drivers/staging/tidspbridge/core/tiomap3430_pwr.c:468:19: error: 'OMAP3430_GRPSEL_GPT7_MASK' undeclared (first use in this function)
    drivers/staging/tidspbridge/core/tiomap3430_pwr.c:481:19: error: 'OMAP3430_GRPSEL_GPT8_MASK' undeclared (first use in this function)
    drivers/staging/tidspbridge/core/tiomap3430_pwr.c:494:19: error: 'OMAP3430_GRPSEL_MCBSP1_MASK' undeclared (first use in this function)
    drivers/staging/tidspbridge/core/tiomap3430_pwr.c:546:19: error: 'OMAP3430_GRPSEL_MCBSP5_MASK' undeclared (first use in this function)
    make[3]: *** [drivers/staging/tidspbridge/core/tiomap3430_pwr.o] Error 1
    make[2]: *** [drivers/staging/tidspbridge] Error 2
    
    Fixes: 7be914f2 (ARM: OMAP3: PRM/CM: Cleanup unused header)
    Cc: Rajendra Nayak <rnayak@ti.com>
    Cc: Paul Walmsley <paul@pwsan.com>
    Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
    Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
    0cd8d405
cm-regbits-34xx.h 8.88 KB