lkml.org 
[lkml]   [2014]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] v4l2-pci-skeleton: fix typo while retrieving the skel_buffer
Date
From: "Lad, Prabhakar" <prabhakar.csengg@gmail.com>

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
---
Documentation/video4linux/v4l2-pci-skeleton.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/video4linux/v4l2-pci-skeleton.c b/Documentation/video4linux/v4l2-pci-skeleton.c
index 3a1c0d2..61a56f4 100644
--- a/Documentation/video4linux/v4l2-pci-skeleton.c
+++ b/Documentation/video4linux/v4l2-pci-skeleton.c
@@ -87,7 +87,7 @@ struct skel_buffer {

static inline struct skel_buffer *to_skel_buffer(struct vb2_buffer *vb2)
{
- return container_of(vb2, struct skel_buffer, vb);
+ return container_of(vb2, struct skel_buffer, vb2);
}

static const struct pci_device_id skeleton_pci_tbl[] = {
--
1.7.9.5


\
 
 \ /
  Last update: 2014-03-24 19:21    [W:0.030 / U:1.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site