On Thu, Jun 14, 2012 at 8:52 PM, Ozan Çağlayan <ozancag@xxxxxxxxx> wrote: > This backports: > > From 26ec685ff9d9c16525d8ec4c97e52fcdb187b302 Mon Sep 17 00:00:00 > > From: Takashi Iwai <tiwai@xxxxxxx> > Date: Fri, 11 May 2012 07:51:17 +0200 > Subject: [PATCH] vga_switcheroo: Introduce struct vga_switcheroo_client_ops > > only for kernels >= 2.6.34 in which vga_switcheroo is available. Do you accept conditional additions like this into compat? If not, what is the proper way of doing this? Another question, the vga_switcheroo.h which is included here for the enum declaration is not guarded against multiple inclusion. So when building compat-drm/drm/i915, I get nested declaration error. I looked at other headers and they are all guarded, so I sent a patch to dri-devel which adds ifndef guard in vga_switcheroo.h. Is this the correct way of fixing a second inclusion of an header file which gets already included through compat? Thanks :) -- Ozan Çağlayan -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html