Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753051AbcD0T0E (ORCPT ); Wed, 27 Apr 2016 15:26:04 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:34560 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752022AbcD0T0B (ORCPT ); Wed, 27 Apr 2016 15:26:01 -0400 From: Michele Curti To: gregkh@linuxfoundation.org Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Michele Curti Subject: [PATCH] usb: devio: declare usbdev_vm_ops as static Date: Wed, 27 Apr 2016 21:23:07 +0200 Message-Id: <1461784987-19056-1-git-send-email-michele.curti@gmail.com> X-Mailer: git-send-email 2.8.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 666 Lines: 22 usbdev_vm_ops is used in devio.c only, so declare it as static Signed-off-by: Michele Curti --- drivers/usb/core/devio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index 52c4461..73ce871 100644 --- a/drivers/usb/core/devio.c +++ b/drivers/usb/core/devio.c @@ -216,7 +216,7 @@ static void usbdev_vm_close(struct vm_area_struct *vma) dec_usb_memory_use_count(usbm, &usbm->vma_use_count); } -struct vm_operations_struct usbdev_vm_ops = { +static struct vm_operations_struct usbdev_vm_ops = { .open = usbdev_vm_open, .close = usbdev_vm_close }; -- 2.8.0