[uClinux-dev] ac97 driver

devi devi at tenet.res.in
Wed Aug 3 17:25:49 EDT 2005


I am registering the ad1885 driver but I am not getting the print statement in the ad1885_probe().Any idea.

static int ad1885_probe(struct ac97_codec *codec, struct ac97_driver *driver)
{
printk("ad1885_probe()\n");
}

static struct ac97_driver ad1885_driver = {
        codec_id: 0x41445360,
        codec_mask: 0xFFFFFFFF,
        name: "AD1885",
        probe:  ad1885_probe,
        remove: __devexit_p(ad1885_remove),
};
static int __init ad1885_init(void)
{
return ac97_register_driver(&ad1885_driver);
}
 void __exit ad1885_cleanup(void)
{
ac97_unregister_driver(&ad1885_driver);
}
module_init(ad1885_init);
module_exit(ad1885_cleanup);



regards
Devi



More information about the uClinux-dev mailing list