request_firmware — request firmware to hotplug and wait for it
int request_firmware ( | const struct firmware ** | firmware_p, |
const char * | name, | |
struct device * | device) ; |
firmware
will be used to return a firmware image by the name
of name
for device device
.
Should be called from user context where sleeping is allowed.
name
will be use as $FIRMWARE
in the hotplug environment and
should be distinctive enough not to be confused with any other
firmware image for this or any other device.