diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2021-01-05 18:18:15 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-06 16:17:14 -0800 |
commit | 7f847db3040897f3ee25ce97265c545b5561f6c2 (patch) | |
tree | 07e23f706b5edd9273de7d79447268e3d8631b91 /drivers/ptp | |
parent | 94bcfdbff0c210b17b27615f4952cc6ece7d5f5f (diff) | |
download | linux-7f847db3040897f3ee25ce97265c545b5561f6c2.tar.bz2 |
net: dsa: fix led_classdev build errors
Fix build errors when LEDS_CLASS=m and NET_DSA_HIRSCHMANN_HELLCREEK=y.
This limits the latter to =m when LEDS_CLASS=m.
microblaze-linux-ld: drivers/net/dsa/hirschmann/hellcreek_ptp.o: in function `hellcreek_ptp_setup':
(.text+0xf80): undefined reference to `led_classdev_register_ext'
microblaze-linux-ld: (.text+0xf94): undefined reference to `led_classdev_register_ext'
microblaze-linux-ld: drivers/net/dsa/hirschmann/hellcreek_ptp.o: in function `hellcreek_ptp_free':
(.text+0x1018): undefined reference to `led_classdev_unregister'
microblaze-linux-ld: (.text+0x1024): undefined reference to `led_classdev_unregister'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Link: lore.kernel.org/r/202101060655.iUvMJqS2-lkp@intel.com
Cc: Kurt Kanzenbach <kurt@linutronix.de>
Link: https://lore.kernel.org/r/20210106021815.31796-1-rdunlap@infradead.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions