diff for duplicates of <201008131836.18835.linux@rainbow-software.org> diff --git a/a/1.txt b/N1/1.txt index 5174948..ced70ba 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -67,12 +67,12 @@ This time with Kconfig part present. + +static bool s3fb_ddc_needs_mmio(int chip) +{ -+ return !(chip = CHIP_356_VIRGE_GX2 || -+ chip = CHIP_357_VIRGE_GX2P || -+ chip = CHIP_359_VIRGE_GX2P || -+ chip = CHIP_360_TRIO3D_1X || -+ chip = CHIP_362_TRIO3D_2X || -+ chip = CHIP_368_TRIO3D_2X); ++ return !(chip == CHIP_356_VIRGE_GX2 || ++ chip == CHIP_357_VIRGE_GX2P || ++ chip == CHIP_359_VIRGE_GX2P || ++ chip == CHIP_360_TRIO3D_1X || ++ chip == CHIP_362_TRIO3D_2X || ++ chip == CHIP_368_TRIO3D_2X); +} + +static u8 s3fb_ddc_read(struct s3fb_info *par) @@ -185,13 +185,13 @@ This time with Kconfig part present. + info->fix.smem_start + MMIO_OFFSET); + } + if (!s3fb_ddc_needs_mmio(par->chip) || par->mmio) -+ if (s3fb_setup_ddc_bus(info) = 0) ++ if (s3fb_setup_ddc_bus(info) == 0) + par->ddc_registered = true; +#endif + /* Prepare startup mode */ rc = fb_find_mode(&(info->var), info, mode_option, NULL, 0, NULL, 8); - if (! ((rc = 1) || (rc = 2))) { + if (! ((rc == 1) || (rc == 2))) { @@ -1064,6 +1204,12 @@ fb_dealloc_cmap(&info->cmap); err_alloc_cmap: diff --git a/a/content_digest b/N1/content_digest index c3ef6ce..aab3c4c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\020100812131421.bb2839f8.akpm@linux-foundation.org\0" "From\0Ondrej Zary <linux@rainbow-software.org>\0" "Subject\0[PATCH v2] s3fb: add DDC support\0" - "Date\0Fri, 13 Aug 2010 16:36:16 +0000\0" + "Date\0Fri, 13 Aug 2010 18:36:16 +0200\0" "To\0Andrew Morton <akpm@linux-foundation.org>\0" "Cc\0Ondrej Zajicek <santiago@crfreenet.org>" linux-fbdev@vger.kernel.org @@ -78,12 +78,12 @@ "+\n" "+static bool s3fb_ddc_needs_mmio(int chip)\n" "+{\n" - "+\treturn !(chip = CHIP_356_VIRGE_GX2 ||\n" - "+\t\t chip = CHIP_357_VIRGE_GX2P ||\n" - "+\t\t chip = CHIP_359_VIRGE_GX2P ||\n" - "+\t\t chip = CHIP_360_TRIO3D_1X ||\n" - "+\t\t chip = CHIP_362_TRIO3D_2X ||\n" - "+\t\t chip = CHIP_368_TRIO3D_2X);\n" + "+\treturn !(chip == CHIP_356_VIRGE_GX2 ||\n" + "+\t\t chip == CHIP_357_VIRGE_GX2P ||\n" + "+\t\t chip == CHIP_359_VIRGE_GX2P ||\n" + "+\t\t chip == CHIP_360_TRIO3D_1X ||\n" + "+\t\t chip == CHIP_362_TRIO3D_2X ||\n" + "+\t\t chip == CHIP_368_TRIO3D_2X);\n" "+}\n" "+\n" "+static u8 s3fb_ddc_read(struct s3fb_info *par)\n" @@ -196,13 +196,13 @@ "+\t\t\t\tinfo->fix.smem_start + MMIO_OFFSET);\n" "+\t}\n" "+\tif (!s3fb_ddc_needs_mmio(par->chip) || par->mmio)\n" - "+\t\tif (s3fb_setup_ddc_bus(info) = 0)\n" + "+\t\tif (s3fb_setup_ddc_bus(info) == 0)\n" "+\t\t\tpar->ddc_registered = true;\n" "+#endif\n" "+\n" " \t/* Prepare startup mode */\n" " \trc = fb_find_mode(&(info->var), info, mode_option, NULL, 0, NULL, 8);\n" - " \tif (! ((rc = 1) || (rc = 2))) {\n" + " \tif (! ((rc == 1) || (rc == 2))) {\n" "@@ -1064,6 +1204,12 @@\n" " \tfb_dealloc_cmap(&info->cmap);\n" " err_alloc_cmap:\n" @@ -254,4 +254,4 @@ "-- \n" Ondrej Zary -50c34e0d67b2eab0fda79d8371a00c0773184718fb4fabbc6926b37b5fefdcfb +a79e69feee594663eb0c8923d3e5d26e3c9e66991ec2028063f643a7faa7fd9f
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.