[MTD] DiskOnChip: Fix compile w/o CONFIG_MTD_PARTITIONS.
[MTD] DiskOnChip: Fix compile w/o CONFIG_MTD_PARTITIONS.

Signed-off-by: Dan Brown <3b32626a48a89a87c8fb0e9ae2b75b9ce01dcc2b@ieee.org>
Signed-off-by: Thomas Gleixner <00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de>

KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs