Messages in this thread | | | From | Alexey Dobriyan <> | Subject | Re: [PATCH] new driver for ITM Touch touchscreen | Date | Fri, 4 Mar 2005 14:03:37 +0200 |
| |
On Friday 04 March 2005 12:30, Hans-Christian Egtvedt wrote:
> I've ported the works from Chris Collins so the drivers compiles without > warnings and works (for me) with Linux 2.6.10 and 2.6.11.
> Any comments on the driver would be much appreciated.
> +struct itmtouch_dev {
> + int refcount; //
There is already generic interface for reference-counted objects. See lib/kref.c and kref documentation at:
http://marc.theaimsgroup.com/?l=linux-kernel&m=110987233406767&w=2
Alexey - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |