[haiku-commits] r40771 - haiku/trunk/src/add-ons/kernel/drivers/graphics/radeon

  • From: kallisti5@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 1 Mar 2011 23:27:28 +0100 (CET)

Author: kallisti5
Date: 2011-03-01 23:27:28 +0100 (Tue, 01 Mar 2011)
New Revision: 40771
Changeset: http://dev.haiku-os.org/changeset/40771

Modified:
   haiku/trunk/src/add-ons/kernel/drivers/graphics/radeon/detect.c
Log:
fix two missed style issues in switch, thanks!

Modified: haiku/trunk/src/add-ons/kernel/drivers/graphics/radeon/detect.c
===================================================================
--- haiku/trunk/src/add-ons/kernel/drivers/graphics/radeon/detect.c     
2011-03-01 22:21:21 UTC (rev 40770)
+++ haiku/trunk/src/add-ons/kernel/drivers/graphics/radeon/detect.c     
2011-03-01 22:27:28 UTC (rev 40771)
@@ -581,8 +581,7 @@
                        di->is_igp = (device->features & INTEGRATED) ? true : 
false;
 
                        // detect chips with broken I2C
-                       switch(device->device_id)
-                       {
+                       switch (device->device_id) {
                                case DEVICE_ID_RADEON_LY:
                                case DEVICE_ID_RADEON_LZ:
                                case DEVICE_ID_RADEON_LW:
@@ -600,8 +599,7 @@
                        // disable 2d DMA engine for chips that don't work with 
our
                        // dma code (yet).  I would have used asic type, but 
R410s are
                        // treated same asic as r420s in code, and the AGP x800 
works fine.
-                       switch (device->device_id)
-                       {
+                       switch (device->device_id) {
                                // rv370
                                case DEVICE_ID_RADEON_5b60:
                                case DEVICE_ID_RADEON_5b62:


Other related posts:

  • » [haiku-commits] r40771 - haiku/trunk/src/add-ons/kernel/drivers/graphics/radeon - kallisti5