diff options
author | Andrew Lunn <[email protected]> | 2019-04-28 19:37:12 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-04-28 19:41:01 -0400 |
commit | 0b42f03363706609d621c31324fae5c1250f579f (patch) | |
tree | b4b66ab0f485b8d885446a55d450772eb22c7e08 /lib/mpi/mpi-bit.c | |
parent | 875138f81d71af3cfa80df57e32fe9efbc4f95bc (diff) |
dsa: Add MODULE_ALIAS to taggers in preparation to become modules
When the tag drivers become modules, we will need to dynamically load
them based on what the switch drivers need. Add aliases to map between
the TAG protocol and the driver.
In order to do this, we need the tag protocol number as something
which the C pre-processor can stringinfy. Only the compiler knows the
value of an enum, CPP cannot use them. So add #defines.
Signed-off-by: Andrew Lunn <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions