Skip to content

Commit a9a5b72

Browse files
andy-shevbrgl
authored andcommitted
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: cb8c474 ("gpio: sim: new testing module") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
1 parent 660c619 commit a9a5b72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpio-sim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,7 @@ static void gpio_sim_hog_config_item_release(struct config_item *item)
13221322
kfree(hog);
13231323
}
13241324

1325-
struct configfs_item_operations gpio_sim_hog_config_item_ops = {
1325+
static struct configfs_item_operations gpio_sim_hog_config_item_ops = {
13261326
.release = gpio_sim_hog_config_item_release,
13271327
};
13281328

0 commit comments

Comments
 (0)