staging: bcm2835-audio: Add missing MODULE_ALIAS
authorMaxim Mikityanskiy <maxtram95@gmail.com>
Sat, 20 Jun 2020 12:40:00 +0000 (15:40 +0300)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:34:13 +0000 (16:34 +0100)
commit57fcaa4d2f8104ec1e1308762c0fc74c7398e248
treed1ccbd51335cad537afce136aa0e27cfe1b2a93d
parent8a18d5e13c873b649c5bac768bd1163c74e41d35
staging: bcm2835-audio: Add missing MODULE_ALIAS

Commit 8353fe6f1e0f ("Revert "staging: bcm2835-audio: Drop DT
dependency"") reverts the upstream change and makes bcm2835-audio use
device tree again, however, it also removes the MODULE_ALIAS for the
platform device. This MODULE_ALIAS is needed, because VCHIQ registers
bcm2835-audio as a child platform device since commit 25c7597af20d
("staging: vchiq_arm: Register a platform device for audio"), and this
mechanism is adopted also in the downstream kernel.

This commit puts back that MODULE_ALIAS to make bcm2835-audio
autoprobing work again. The rest of VCHIQ children have their
MODULE_ALIASes in place.

Fixes: 8353fe6f1e0f ("Revert "staging: bcm2835-audio: Drop DT dependency"")
Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
drivers/staging/vc04_services/bcm2835-audio/bcm2835.c