wifi: mt76: mt7915: expose device tree match table
authorLorenz Brun <lorenz@brun.one>
Sat, 18 Feb 2023 11:29:45 +0000 (12:29 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 17 Apr 2023 13:34:34 +0000 (15:34 +0200)
commit90fb69212c60e26ef70ed0e8532b116c7649ac88
tree7b8ce79dc3b6bd5429de9273267941c2374ee5e8
parentc278a64a9375b5410a25d3e17317c36ee9e2fd02
wifi: mt76: mt7915: expose device tree match table

On MT7986 the WiFi driver currently does not get automatically loaded,
requiring manual modprobing because the device tree compatibles are not
exported into metadata.

Add the missing MODULE_DEVICE_TABLE macro to fix this.

Fixes: 99ad32a4ca3a2 ("mt76: mt7915: add support for MT7986")
Signed-off-by: Lorenz Brun <lorenz@brun.one>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/soc.c