Skip to content

Commit

Permalink
mfd: as3711: Make of_device_id array const
Browse files Browse the repository at this point in the history
Array of struct of_device_id may be be const as expected by
of_match_table field.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
  • Loading branch information
krzk authored and Lee Jones committed Jun 3, 2014
1 parent 9272549 commit 4456030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/as3711.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ static const struct regmap_config as3711_regmap_config = {
};

#ifdef CONFIG_OF
static struct of_device_id as3711_of_match[] = {
static const struct of_device_id as3711_of_match[] = {
{.compatible = "ams,as3711",},
{}
};
Expand Down

0 comments on commit 4456030

Please sign in to comment.