summaryrefslogtreecommitdiff
path: root/include/linux/video_encoder.h
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2002-10-16 21:03:13 -0700
committerPatrick Mochel <mochel@osdl.org>2002-10-16 21:03:13 -0700
commitde9d4fa4fc14669c97a8d0911bb0b5624f94b992 (patch)
treed9d324947885c216a7dbd58ddd85bbe2a22cfe28 /include/linux/video_encoder.h
parentd9b24a116f72056c7ac8bb2cdcd9dfd84ce85513 (diff)
driver model: add struct device_driver::shutdown() method and device_present() helper.
->shutdown() is added to be explicitly called during reboot transitions by device_shutdown(). Drivers implementing this method should use it solely to quiesce the device. Drivers do not have to free memory allocated by the driver, as it is implied that the system is rebooting; and, they must not fuss with the reference counts. Devices are guaranteed not to disappear during the call, though their validity may be checked using device_present().
Diffstat (limited to 'include/linux/video_encoder.h')
0 files changed, 0 insertions, 0 deletions