more docprobe.c

Brendan J Simon brendan.simon at bigpond.com
Thu May 2 04:30:36 EDT 2002


I also added the following:

#if (CONFIG_MTD_DOCPROBE_ADDRESS != 0)
    CONFIG_MTD_DOCPROBE_ADDRESS,
#elif defined(__alpha__) || defined(__i386__) || defined(__x86_64__)
...
#elif defined(__ppc__) || defined(__PPC__)
...
#elif defined(CONFIG_MOMENCO_OCELOT)
...



I think that the platform specific config option should be checked 
before (or within) the generic arch blocks.

#if (CONFIG_MTD_DOCPROBE_ADDRESS != 0)
    CONFIG_MTD_DOCPROBE_ADDRESS,
#elif defined(CONFIG_MOMENCO_OCELOT)
...
#elif defined(__alpha__) || defined(__i386__) || defined(__x86_64__)
...
#elif defined(__ppc__) || defined(__PPC__)
...


Regards,
Brendan Simon.







More information about the linux-mtd mailing list