lkml.org 
[lkml]   [2002]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [2.5.51] unknown field 'driver_data' compiling cs4243
    Burton Windle writes:
    >I'm getting an error compiling cs4232 in 2.5.51. It built fine in 50-bk6.
    [...]
    >sound/oss/cs4232.c:361: unknown field `driver_data' specified in initializer
    [etc.]

    This is not due to the change that I submitted removing
    driver_data from struct pci_dev, although it looks like a similar change
    for isapnp devices. I started to make a change to convert
    the references to driver_data to
    dev_set_drvdata(&isapnpdev->dev,...) and dev_get_drvdata(&isapnpdev->dev),
    but got a little confused by the multiple classes of isapnp drivers:

    Driver structure Device structure ID structure

    include/linux/isapnp.h:
    isapnp_driver pci_dev isapnp_device_id
    (none) pci_bus isapnp_card_id

    include/linux/pnp.h:
    pnpc_driver pnp_card pnp_card_id
    pnp_driver pnp_dev pnp_id


    From ChangeLog-2.5.51, I see mention of isapnp changes
    associated with Adam Belay. So, I'm cc'ing him as he is probably
    much better qualified to explain.

    Adam J. Richter __ ______________ 575 Oroville Road
    adam@yggdrasil.com \ / Milpitas, California 95035
    +1 408 309-6081 | g g d r a s i l United States of America
    "Free Software For The Rest Of Us."
    -
    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 13:31    [W:7.178 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site