summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>2021-01-25 15:32:43 -0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-02-21 23:37:52 +0100
commit13d41b537df7d2538f901aa98f82672482b50d12 (patch)
treee2d07f2c0520c7465f299164b4bc1f8bfeb118f9 /mm
parent0d424780852eb60467a6f053d92495bb845ac186 (diff)
downloadlinux-13d41b537df7d2538f901aa98f82672482b50d12.tar.gz
linux-13d41b537df7d2538f901aa98f82672482b50d12.tar.bz2
linux-13d41b537df7d2538f901aa98f82672482b50d12.zip
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: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Reviewed-by: Lauri Kasanen <cand@gmx.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions