[Suspend2-announce] [Software-Suspend 2] Changings

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Patrick Neuberger
Date:  
To: suspend2-announce
Subject: [Suspend2-announce] [Software-Suspend 2] Changings
There is a problem by using the suspend2 patch AND the pvrusb2 driver
from http://www.isely.net/pvrusb2.html

The Hauppauge WinTV PVR USB2 (pvrusb2) is an extern television card.

Normally the function "create_singlethread_workqueue" in
include/linux/workqueue.h needs 1 argument. At that time the pvrusb2
driver is compiled correctly.

--Standard in kernel 2.6.11.10-----------------------------------------
#define create_workqueue(name) __create_workqueue((name), 0)
#define create_singlethread_workqueue(name) __create_workqueue((name), 1)
--After patching with software-suspend-2.1.8---------------------------
#define create_workqueue(name, flags) __create_workqueue((name), 0, flags)
#define create_singlethread_workqueue(name, flags)
__create_workqueue((name), 1, flags)
-----------------------------------------------------------------------

After patching the kernel the pvrusb2-driver reports an error by compiling:
/usr/src/mod-2.6.11.10/pvrusb2-mci-20050605/pvrusb2-base.c:76:60: Macro
»create_singlethread_workqueue« needs 2 arguments, but only 1 is given
(I translate the error from German to English)

How can I remedy this error?

Bye
Patrick