Przeglądaj źródła

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>
Felipe Balbi 11 lat temu
rodzic
commit
8f90afd918
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      drivers/usb/phy/phy-msm-usb.c

+ 1 - 1
drivers/usb/phy/phy-msm-usb.c

@@ -1394,7 +1394,7 @@ out:
 	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,