mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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>
This commit is contained in:
parent
f797d9881b
commit
aeb583d081
1 changed files with 1 additions and 1 deletions
|
@ -587,7 +587,7 @@ out_unlock:
|
|||
return count;
|
||||
}
|
||||
|
||||
const struct file_operations filter_fops = {
|
||||
static const struct file_operations filter_fops = {
|
||||
.read = filter_read,
|
||||
.write = filter_write,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue