Skip to content

Commit aeb583d

Browse files
tfarinajoergroedel
authored andcommitted
lib/dma-debug.c: mark file-local struct symbol static.
warning: symbol 'filter_fops' was not declared. Should it be static? Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
1 parent f797d98 commit aeb583d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/dma-debug.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ static ssize_t filter_write(struct file *file, const char __user *userbuf,
587587
return count;
588588
}
589589

590-
const struct file_operations filter_fops = {
590+
static const struct file_operations filter_fops = {
591591
.read = filter_read,
592592
.write = filter_write,
593593
};

0 commit comments

Comments
 (0)