n64: store dev instance into disk private data
The device instance is declared globally. Remove global variable & use the disk->private_data to store the device instance in the n64cart_probe() and get the same instance from bio->bi_disk->private data in n64cart_submit_bio. Signed-off-by: NChaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Reviewed-by: NLauri Kasanen <cand@gmx.com> Signed-off-by: NThomas Bogendoerfer <tsbogend@alpha.franken.de>
Showing
想要评论请 注册 或 登录