RE: [PATCH 8/9] mtd: Allow mtd block device drivers to have a custom ioctl function

From: Kyungmin Park
Date: Sun Mar 04 2007 - 21:23:38 EST


To make a modules, we have to export "get_mtd_blktrans_gendisk".

"get_mtd_blktrans_gendisk" is used at mtdswap.

>
> +struct gendisk *get_mtd_blktrans_gendisk(struct
> mtd_blktrans_dev *dev)
> +{
> + return dev->blkcore_priv;
> +}
> +

@@ -469,6 +480,7 @@ EXPORT_SYMBOL_GPL(register_mtd_blktrans);
EXPORT_SYMBOL_GPL(deregister_mtd_blktrans);
EXPORT_SYMBOL_GPL(add_mtd_blktrans_dev);
EXPORT_SYMBOL_GPL(del_mtd_blktrans_dev);
+EXPORT_SYMBOL_GPL(get_mtd_blktrans_gendisk);

MODULE_AUTHOR("David Woodhouse <dwmw2@xxxxxxxxxxxxx>");
MODULE_LICENSE("GPL");

Thank you,
Kyungmin Park

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/