mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 23:48:56 -04:00
usb: phy: msm: mark msm_otg_mode_fops static
that declaration is only used inside this driver, marking it static. Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
@@ -1394,7 +1394,7 @@ static ssize_t msm_otg_mode_write(struct file *file, const char __user *ubuf,
|
||||
return status;
|
||||
}
|
||||
|
||||
const struct file_operations msm_otg_mode_fops = {
|
||||
static const struct file_operations msm_otg_mode_fops = {
|
||||
.open = msm_otg_mode_open,
|
||||
.read = seq_read,
|
||||
.write = msm_otg_mode_write,
|
||||
|
||||
Reference in New Issue
Block a user