This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM365 RDK Build Error - Undefined SUSPEND_DISABLE

I did " make" under directory

/opt/mv_pro_5.0/montavista/pro/devkit/lsp/ti-davinci_evm-arm_v5t_le/linux-2.6.18_pro500

and ran into the following error messages:

CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/utsrelease.h
  CHK     include/linux/compile.h
  CC [M]  drivers/mmc/davinci.o
drivers/mmc/davinci.c: In function ‘davinci_mmcsd_suspend’:
drivers/mmc/davinci.c:1511: error: ‘SUSPEND_DISABLE’ undeclared (first use in this function)
drivers/mmc/davinci.c:1511: error: (Each undeclared identifier is reported only once
drivers/mmc/davinci.c:1511: error: for each function it appears in.)
drivers/mmc/davinci.c:1512: error: incompatible type for argument 2 of ‘mmc_suspend_host’
drivers/mmc/davinci.c: In function ‘davinci_mmcsd_resume’:
drivers/mmc/davinci.c:1522: error: ‘RESUME_ENABLE’ undeclared (first use in this function)
drivers/mmc/davinci.c: At top level:
drivers/mmc/davinci.c:1538: warning: initialization from incompatible pointer type
drivers/mmc/davinci.c:1539: warning: initialization from incompatible pointer type
make[2]: *** [drivers/mmc/davinci.o] Error 1
make[1]: *** [drivers/mmc] Error 2
make: *** [drivers] Error 2

 

I could not seem to find both RESUME_ENABLE" and "SUSPEND_DISABLE" defined somewhere.

 

Any help would be appreciated.