Merge branch 'for-linus/samsung-2635' of git://git.fluff.org/bjdooks/linux
[pandora-kernel.git] / drivers / mtd / nand / sm_common.c
index ac80fb3..4a8f367 100644 (file)
@@ -109,7 +109,7 @@ static struct nand_flash_dev nand_xd_flash_ids[] = {
 
 int sm_register_device(struct mtd_info *mtd, int smartmedia)
 {
-       struct nand_chip *chip = (struct nand_chip *)mtd->priv;
+       struct nand_chip *chip = mtd->priv;
        int ret;
 
        chip->options |= NAND_SKIP_BBTSCAN;