]> Pileus Git - ~andy/linux/commit
vga_switcheroo: Introduce struct vga_switcheroo_client_ops
authorTakashi Iwai <tiwai@suse.de>
Fri, 11 May 2012 05:51:17 +0000 (07:51 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 13 May 2012 09:24:09 +0000 (11:24 +0200)
commit26ec685ff9d9c16525d8ec4c97e52fcdb187b302
tree2536e4fd8fc9b41736c481822fb032a4e4efc81a
parent79721e0a91b5e8f662f12eeb50ea205c761e6bf8
vga_switcheroo: Introduce struct vga_switcheroo_client_ops

This changes the API as a clean-up.  Instead of passing multiple
function pointers at each time, introduce a new struct holding the
whole callback functions and pass it to the registration.

The same struct will be used for the upcoming audio client
registration, too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/nouveau/nouveau_state.c
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/vga/vga_switcheroo.c
include/linux/vga_switcheroo.h