]> git.baikalelectronics.ru Git - kernel.git/commit
mmc_spi: Fix unterminated of_match_table
authorAnton Vorontsov <avorontsov@mvista.com>
Sun, 8 Aug 2010 14:14:22 +0000 (18:14 +0400)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 8 Aug 2010 14:57:24 +0000 (08:57 -0600)
commit812e95483a0326a35b61f19e6ad116a9aa621ee7
tree2ebae9492ecedf94a6d0a016ca8ce31828092aa6
parent69438e14d4ed4c3e7d01ad9796333246423cfa92
mmc_spi: Fix unterminated of_match_table

commit c850f5e5c9d80d440ba4cda205292f975156bb1b ("of: refactor
of_modalias_node() and remove explicit match table"), introduced
an unterminated of_match_table, which may cause kernel to oops.

This patch fixes the issue by adding an empty device ID.

Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/mmc/host/mmc_spi.c