[PATCH 0/2] constify vb2_ops structures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The vb2_ops structures can be const as they are only stored in the ops
field of a vb2_queue structure and this field is const.

Done with the help of Coccinelle.

---

 drivers/media/i2c/video-i2c.c           |    2 +-
 drivers/usb/gadget/function/uvc_queue.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux