Re: [2.5 patch] fix for drivers/video/sis/init301.c

James Simmons (jsimmons@infradead.org)
Thu, 19 Jun 2003 06:10:02 +0100 (BST)


Already fixed in the newer driver.

On Wed, 18 Jun 2003, Adrian Bunk wrote:

> Hi James,
>
> the following patch fixes some nonsense in drivers/video/sis/init301.c .
> I've tested the compilation with 2.5.72.
>
> --- linux-2.5.72/drivers/video/sis/init301.c.old 2003-06-18 01:22:27.000000000 +0200
> +++ linux-2.5.72/drivers/video/sis/init301.c 2003-06-18 01:23:23.000000000 +0200
> @@ -5282,7 +5282,7 @@
> #ifdef SIS315H /* 310/325 series */
>
> if(SiS_Pr->SiS_IF_DEF_CH70xx != 0) {
> - temp = temp = SiS_GetCH701x(SiS_Pr,0x61);
> + temp = SiS_GetCH701x(SiS_Pr,0x61);
> if(temp < 1) {
> SiS_SetCH701x(SiS_Pr,0xac76);
> SiS_SetCH701x(SiS_Pr,0x0066);
>
>
>
> Please apply
> Adrian
>
>

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