diff options
| author | Sylvain Munaut <[email protected]> | 2007-05-08 19:59:29 +1000 |
|---|---|---|
| committer | Sam Ravnborg <[email protected]> | 2007-05-19 09:10:10 +0200 |
| commit | d1ab423502e787e264b4797a5fa200d804c4fd63 (patch) | |
| tree | 6393a3b2a3c985b79acf29549acba3aea468759a /include | |
| parent | 55b637c6a003a8c4850b41a2c2fd6942d8a7f530 (diff) | |
powerpc: Fix the MODALIAS generation in modpost for of devices
Since the devices may have multiple (or none) compatible properties,
the uevent generated internally by the kernel may have multiple
"C..." entries. So the MODALIAS stored in the module must have
wilcard before and after the compatible entry.
Also, if the 'compatible' field is not used for matching, there
will be no 'C' and that must handled as well.
The previous code handled all those case incorrectly and it
"mostly" worked ... but not always.
Signed-off-by: Sylvain Munaut <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions