[...]
>
> - if (check_region (io_base, 16)) {
> - printk ("ad1816: I/O port 0x%03x not free\n", io_base);
> - return 0;
> + if (request_region(io_base, 16, "AD1816 Sound")) {
> + printk(KERN_WARNING "ad1816: I/O port 0x%03x not free\n",
> + io_base);
> + goto err;
> }
>
Would you mind trying with a '!' in front of the request_region call?
Regards,
Rasmus
-
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/