devfs_iterate() is only used locally, so make it static. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- fs/devfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/devfs.c b/fs/devfs.c index 717e66c5dc..81ae2c25a5 100644 --- a/fs/devfs.c +++ b/fs/devfs.c @@ -193,7 +193,7 @@ static struct inode *devfs_alloc_inode(struct super_block *sb) return &node->inode; } -int devfs_iterate(struct file *file, struct dir_context *ctx) +static int devfs_iterate(struct file *file, struct dir_context *ctx) { struct cdev *cdev; -- 2.19.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox