Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mpeg2] report.
- To: mpeg2@linuxtv.org
- Subject: [mpeg2] report.
- From: Evgeny <euMaster@gmx.net>
- Date: Wed, 10 Apr 2002 17:10:16 +0200
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=KOI8-R; format=flowed
- Delivered-To: mhonarc@limes.convergence.de
- Sender: mpeg2-bounce@linuxtv.org
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020208
HI!
Now I work for integration of kfir-driver in my project.
And I found some incorrectnesses in code of kfir.c:
kfir.c:2772: warning: initialization from incompatible pointer type
kfir.c:2773: warning: initialization from incompatible pointer type
This is fix for it:
driver> diff -u3 kfir.c.orig kfir.c
--- kfir.c.orig Wed Apr 10 15:12:59 2002
+++ kfir.c Tue Mar 19 12:25:44 2002
@@ -2534,6 +2552,7 @@
/* template for video_device-structure */
static struct video_device kfir_template = {
+ THIS_MODULE,
name: "Kfir",
type: VID_TYPE_MPEG_ENCODER,
hardware: VID_HARDWARE_SAA7146, //FIXME: need to get
VID_HARDWARE_KFIR registered
@@ -2745,14 +2764,16 @@
return kfir_remove_device((struct kfir_dev *) pdev->driver_data);
}
-static void kfir_suspend(struct pci_dev *pdev)
+static int kfir_suspend(struct pci_dev *pdev, u32 state)
{
printk("kfir: kfir_suspend()\n");
+ return 0;
}
-static void kfir_resume(struct pci_dev *pdev)
+static int kfir_resume(struct pci_dev *pdev)
{
printk("kfir: kfir_resume()\n");
+ return 0;
}
I believe to repair this usefull.
Best reards, Evgeny.
Home |
Main Index |
Thread Index