diff options
author | Tejun Heo <tj@kernel.org> | 2011-03-09 19:54:27 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-03-09 19:54:27 +0100 |
commit | 1a8a74f03fcde1725ff26520220f3d21dbd8faa1 (patch) | |
tree | 5ac4195f4b34f815261ec243357f81967e4384c0 /drivers/cdrom/viocd.c | |
parent | 5b03a1b140e13a28ff6be1526892a9dc538ddef6 (diff) | |
download | lwn-1a8a74f03fcde1725ff26520220f3d21dbd8faa1.tar.gz lwn-1a8a74f03fcde1725ff26520220f3d21dbd8faa1.zip |
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/viocd.c')
0 files changed, 0 insertions, 0 deletions