Skip to content

Commit

Permalink
lib/dma-debug.c: mark file-local struct symbol static.
Browse files Browse the repository at this point in the history
warning: symbol 'filter_fops' was not declared. Should it be static?

Signed-off-by: Thiago Farina <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
  • Loading branch information
tfarina authored and Joerg Roedel committed Jan 22, 2010
1 parent f797d98 commit aeb583d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dma-debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ static ssize_t filter_write(struct file *file, const char __user *userbuf,
return count;
}

const struct file_operations filter_fops = {
static const struct file_operations filter_fops = {
.read = filter_read,
.write = filter_write,
};
Expand Down

0 comments on commit aeb583d

Please sign in to comment.