mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
gpio: sim: Declare gpio_sim_hog_config_item_ops static
Compiler is not happy:
warning: symbol 'gpio_sim_hog_config_item_ops' was not declared. Should it be static?
Fixes: cb8c474e79
("gpio: sim: new testing module")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
This commit is contained in:
parent
660c619b9d
commit
a9a5b720dc
@ -1322,7 +1322,7 @@ static void gpio_sim_hog_config_item_release(struct config_item *item)
|
||||
kfree(hog);
|
||||
}
|
||||
|
||||
struct configfs_item_operations gpio_sim_hog_config_item_ops = {
|
||||
static struct configfs_item_operations gpio_sim_hog_config_item_ops = {
|
||||
.release = gpio_sim_hog_config_item_release,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user