01_v4l2-api-fix

01_v4l2-api-fix

Post by Gerd Knor » Fri, 08 Nov 2002 11:30:15



  Hi,

This patch fixes a ioctl numbering flaw of the new v4l2 API,
found by davem.

Without this we get compile errors because tables based upon
ioctl number end up having duplicate entries.

Please apply,

  Gerd

--- linux-2.5.46/include/linux/videodev2.h      2002-11-07 09:20:16.000000000 +0100

 #define VIDIOC_G_JPEGCOMP      _IOR  ('V', 61, struct v4l2_jpegcompression)
 #define VIDIOC_S_JPEGCOMP      _IOW  ('V', 62, struct v4l2_jpegcompression)
 #define VIDIOC_QUERYSTD        _IOR  ('V', 63, v4l2_std_id)
-#define VIDIOC_TRY_FMT         _IOWR ('V', 63, struct v4l2_format)
+#define VIDIOC_TRY_FMT         _IOWR ('V', 64, struct v4l2_format)

 #define BASE_VIDIOC_PRIVATE    192             /* 192-255 are private */

--
You can't please everybody.  And usually if you _try_ to please
everybody, the end result is one big mess.
                                -- Linus Torvalds, 2002-04-20
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. kernel-api docbook fix for now non-existant PCI hotplug file

Here is a trivial documentation fix for some of recent PCI hotplug changes
that enables 'make htmldocs' to complete.

--- Documentation/DocBook/kernel-api.tmpl.orig  2003-03-11 16:14:25.000000000 -0800

      </sect1>
      <sect1><title>PCI Hotplug Support Library</title>
 !Edrivers/hotplug/pci_hotplug_core.c
-!Edrivers/hotplug/pci_hotplug_util.c
      </sect1>
      <sect1><title>MCA Architecture</title>
        <sect2><title>MCA Device Functions</title>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. scaleable chat server

3. : kernel-api.* compilation fix

4. ACAD for LINUX, does it exist?

5. 2.5.34 kernel-api DocBook fix

6. sk video PBXGA-CA/ CN

7. : fixing journal-api.tmpl tags

8. 2.5.7-pre1 fix for api-caused ipmr.c compile failure

9. Spell checking API - API to ISPELL needed

10. HCON API/API programming ...

11. PATCH: fix ALi 32bitisms, fix ALi FIFO, fix ALi IRQ crash

12. Fixed length records containing 2 different records types with fixed field widths