mtd: constify of_device_id array
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:

committed by
Brian Norris

orang tua
f5cd2ae1e4
melakukan
6661044365
@@ -837,7 +837,7 @@ static int mpc5121_nfc_remove(struct platform_device *op)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct of_device_id mpc5121_nfc_match[] = {
|
||||
static const struct of_device_id mpc5121_nfc_match[] = {
|
||||
{ .compatible = "fsl,mpc5121-nfc", },
|
||||
{},
|
||||
};
|
||||
|
Reference in New Issue
Block a user