Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoC: cs42xx8: Only define cs42xx8_of_match once
cs42xx8.c exports cs42xx8_of_match, so there's no need to redefine it in cs42xx8-i2c.c - doing so breaks linking when loadable module support is disabled. It would be tidy to use the exported match table in cs42xx8.c's of_match_table member, but an imported symbol can't be used in a module's MODULE_DEVICE_TABLE declaration. Instead, rename the duplicated declarations so as not to clash. See: #3873 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
- Loading branch information