Re: bttv compile failure in 2.5.8-pre2

Thierry Vignaud (tvignaud@mandrakesoft.com)
Mon, 08 Apr 2002 10:49:48 +0200


--=-=-=

Gerd Knorr <kraxel@bytesex.org> writes:

> The same is true for nearly all other v4l drivers. Dave picked up
> my videodev patch from the list and feeded it to Linus, but all the
> related driver fixes are not in the kernel yet ...
>
> 2.4.7 patches are at http://bytesex.org/patches/2.5/
> I'll rediff against -pre2 and resend stuff next days ...

bttv-0.8.x also needs this fix since pointers to __devexit functions
should be marked __devexit_p so that newer binutils don't cry about
references to discarded symbols :

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=BTTV.diff
Content-Description: in core kernel bttv build fix

--- drivers/media/video/bttv-driver.c.orig Thu Apr 4 02:12:59 2002
+++ drivers/media/video/bttv-driver.c Fri Apr 5 06:12:53 2002
@@ -3394,7 +3394,7 @@
name: "bttv",
id_table: bttv_pci_tbl,
probe: bttv_probe,
- remove: bttv_remove,
+ remove: __devexit_p(bttv_remove),
};

static int bttv_init_module(void)

--=-=-=

-- 
Still untested beyond 'it compiles' (davej)

--=-=-=--

- 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/