device: Pass sdi as an function argument to config_list in dev_has_option()
With drivers that support multiple devices we need to know the device model while listing options. That information is most of the time saved in the private part of the dev_inst structure. Pass the pointer to the dev_inst structure as an function argument so we have access to this information.
This commit is contained in:
parent
580f309948
commit
92b68bb5d6
Loading…
Reference in New Issue