lkml.org 
[lkml]   [2005]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH] new driver for ITM Touch touchscreen
    Date
    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/

    \
     
     \ /
      Last update: 2005-03-22 14:10    [W:0.024 / U:0.360 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site