Skip to content

Add "const" to pointers for USB matching functions #167

@clepple

Description

@clepple

A lot of the USB matching functions use constant tables of VID/PIDs, so they should be marked "const". Deferring this for now, but it would be good to consider for the next time a large-scale USB code update is done.

  • const-ify USB matching API
  • const-ify existing drivers
  • update the driver template script

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementrefactor/fightwarnPR or issue proposal to improve code maintainability without functional changes, or to fix warnings

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions