diff options
Diffstat (limited to 'Documentation/zh_CN/video4linux/v4l2-framework.txt')
-rw-r--r-- | Documentation/zh_CN/video4linux/v4l2-framework.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/zh_CN/video4linux/v4l2-framework.txt b/Documentation/zh_CN/video4linux/v4l2-framework.txt index 3e74f13af426..44c1d934c4e3 100644 --- a/Documentation/zh_CN/video4linux/v4l2-framework.txt +++ b/Documentation/zh_CN/video4linux/v4l2-framework.txt | |||
@@ -182,8 +182,7 @@ int iterate(void *p) | |||
182 | 182 | ||
183 | static atomic_t drv_instance = ATOMIC_INIT(0); | 183 | static atomic_t drv_instance = ATOMIC_INIT(0); |
184 | 184 | ||
185 | static int __devinit drv_probe(struct pci_dev *pdev, | 185 | static int drv_probe(struct pci_dev *pdev, const struct pci_device_id *pci_id) |
186 | const struct pci_device_id *pci_id) | ||
187 | { | 186 | { |
188 | ... | 187 | ... |
189 | state->instance = atomic_inc_return(&drv_instance) - 1; | 188 | state->instance = atomic_inc_return(&drv_instance) - 1; |