diff options
author | Alan Cox <alan@linux.intel.com> | 2011-07-05 15:39:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-07-05 08:20:41 -0700 |
commit | 80f51c32c4b52e88c192de8471135dbbd158cc13 (patch) | |
tree | 8704b9d260b4f1ad7cd1057b0f55557eb920af2a /drivers/staging/gma500/mdfld_device.c | |
parent | 71138b7f0735d277f71f0d7ba1918c8922f12cce (diff) |
gma500: add more ops
Split the 2d properties, name, and various function vectors out so that we
can get rid of more conditional gloop in favour of a per device structure.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/gma500/mdfld_device.c')
-rw-r--r-- | drivers/staging/gma500/mdfld_device.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/gma500/mdfld_device.c b/drivers/staging/gma500/mdfld_device.c index e86e476d99b5..3955448bac89 100644 --- a/drivers/staging/gma500/mdfld_device.c +++ b/drivers/staging/gma500/mdfld_device.c @@ -687,6 +687,11 @@ static int mdfld_power_up(struct drm_device *dev) } const struct psb_ops mdfld_chip_ops = { + .name = "Medfield", + .accel_2d = 0, + .crtc_helper = &mdfld_helper_funcs, + .crtc_funcs = &mdfld_intel_crtc_funcs, + .output_init = mdfld_output_init, #ifdef CONFIG_BACKLIGHT_CLASS_DEVICE |