[dahdi-commits] tzafrir: linux/trunk r10436 - /linux/trunk/drivers/dahdi/xpp/xpp_usb.c

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Thu Jan 12 11:13:18 CST 2012


Author: tzafrir
Date: Thu Jan 12 11:13:15 2012
New Revision: 10436

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10436
Log:
xpp: style - add const to file_operations

Signed-off-by: Oron Peled <oron.peled at xorcom.com>
Acked-By: Tzafrir Cohen <tzafrir.cohen at xorcom.com>

Modified:
    linux/trunk/drivers/dahdi/xpp/xpp_usb.c

Modified: linux/trunk/drivers/dahdi/xpp/xpp_usb.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/xpp/xpp_usb.c?view=diff&rev=10436&r1=10435&r2=10436
==============================================================================
--- linux/trunk/drivers/dahdi/xpp/xpp_usb.c (original)
+++ linux/trunk/drivers/dahdi/xpp/xpp_usb.c Thu Jan 12 11:13:15 2012
@@ -555,7 +555,7 @@
  * would use "struct net_driver" instead, and a serial
  * device would use "struct tty_driver".
  */
-static struct file_operations xusb_fops = {
+static const struct file_operations xusb_fops = {
 	/*
 	 * The owner field is part of the module-locking
 	 * mechanism. The idea is that the kernel knows




More information about the dahdi-commits mailing list