summaryrefslogtreecommitdiff
path: root/drivers/cdrom/gdrom.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-03-09 21:54:27 +0300
committerTejun Heo <tj@kernel.org>2011-03-09 21:54:27 +0300
commit1a8a74f03fcde1725ff26520220f3d21dbd8faa1 (patch)
tree5ac4195f4b34f815261ec243357f81967e4384c0 /drivers/cdrom/gdrom.c
parent5b03a1b140e13a28ff6be1526892a9dc538ddef6 (diff)
downloadlinux-1a8a74f03fcde1725ff26520220f3d21dbd8faa1.tar.xz
floppy,{ami|ata}flop: Convert to bdops->check_events()
Convert the floppy drivers from ->media_changed() to ->check_events(). Both floppy and ataflop buffer media changed state bit and clear them on revalidation and will behave correctly with kernel event polling. I can't tell how amiflop clears its event and it's possible that it may generate spurious events when polled. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Jens Axboe <axboe@kernel.dk> Cc: Kay Sievers <kay.sievers@vrfy.org>
Diffstat (limited to 'drivers/cdrom/gdrom.c')
0 files changed, 0 insertions, 0 deletions