]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/mtd/nand/sm_common.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
[mv-sheeva.git] / drivers / mtd / nand / sm_common.c
index ac80fb362e632423753ff82bf1c060b0c7f12833..4a8f367c295c404780e59d61dbcf19802462c29f 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;