mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-17 04:12:26 +00:00
rpmsg: Introduce a driver override mechanism
Similar to other subsystems it's useful to provide a mechanism to force a specific driver match on a device, so introduce this. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
66dca399e6
commit
e950604782
2 changed files with 5 additions and 0 deletions
|
@ -64,6 +64,7 @@ struct rpmsg_channel_info {
|
|||
* rpmsg_device - device that belong to the rpmsg bus
|
||||
* @dev: the device struct
|
||||
* @id: device id (used to match between rpmsg drivers and devices)
|
||||
* @driver_override: driver name to force a match
|
||||
* @src: local address
|
||||
* @dst: destination address
|
||||
* @ept: the rpmsg endpoint of this channel
|
||||
|
@ -72,6 +73,7 @@ struct rpmsg_channel_info {
|
|||
struct rpmsg_device {
|
||||
struct device dev;
|
||||
struct rpmsg_device_id id;
|
||||
char *driver_override;
|
||||
u32 src;
|
||||
u32 dst;
|
||||
struct rpmsg_endpoint *ept;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue