Ignore:
Timestamp:
Mar 18, 2021, 8:57:36 PM (4 years ago)
Author:
David Azarewicz
Message:

Merge changes from Paul's uniaud32next branch.

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/include/linux/firmware.h

    r381 r679  
    33#include <linux/module.h>
    44#include <linux/types.h>
     5#include <linux/errno.h>
     6
    57#define FIRMWARE_NAME_MAX 30
    68struct firmware {
     
    1113int request_firmware(const struct firmware **fw, const char *name,
    1214                     struct device *device);
    13 int request_firmware_nowait(
    14         struct module *module,
    15         const char *name, struct device *device, void *context,
    16         void (*cont)(const struct firmware *fw, void *context));
     15static inline int request_firmware_nowait(
     16        struct module *module, bool uevent,
     17        const char *name, struct device *device, gfp_t gfp, void *context,
     18        void (*cont)(const struct firmware *fw, void *context))
     19{
     20        return -EINVAL;
     21}
    1722
    1823void release_firmware(const struct firmware *fw);
Note: See TracChangeset for help on using the changeset viewer.