diff options
Diffstat (limited to 'Documentation/video4linux/v4l2-framework.txt')
-rw-r--r-- | Documentation/video4linux/v4l2-framework.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/video4linux/v4l2-framework.txt b/Documentation/video4linux/v4l2-framework.txt index 0a1ef671c9d4..a300b283a1a0 100644 --- a/Documentation/video4linux/v4l2-framework.txt +++ b/Documentation/video4linux/v4l2-framework.txt | |||
@@ -173,8 +173,7 @@ The recommended approach is as follows: | |||
173 | 173 | ||
174 | static atomic_t drv_instance = ATOMIC_INIT(0); | 174 | static atomic_t drv_instance = ATOMIC_INIT(0); |
175 | 175 | ||
176 | static int __devinit drv_probe(struct pci_dev *pdev, | 176 | static int drv_probe(struct pci_dev *pdev, const struct pci_device_id *pci_id) |
177 | const struct pci_device_id *pci_id) | ||
178 | { | 177 | { |
179 | ... | 178 | ... |
180 | state->instance = atomic_inc_return(&drv_instance) - 1; | 179 | state->instance = atomic_inc_return(&drv_instance) - 1; |