drm/nouveau/backlight: remove dependence on nouveau_drv.h
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef __NV04_DISPLAY_H__
|
||||
#define __NV04_DISPLAY_H__
|
||||
|
||||
#include <subdev/bios/pll.h>
|
||||
|
||||
enum nv04_fp_display_regs {
|
||||
FP_DISPLAY_END,
|
||||
FP_TOTAL,
|
||||
@@ -78,13 +80,6 @@ struct nv04_display {
|
||||
uint32_t dac_users[4];
|
||||
};
|
||||
|
||||
static inline struct nv04_display *
|
||||
nv04_display(struct drm_device *dev)
|
||||
{
|
||||
struct drm_nouveau_private *dev_priv = dev->dev_private;
|
||||
return dev_priv->engine.display.priv;
|
||||
}
|
||||
|
||||
/* nv04_display.c */
|
||||
int nv04_display_early_init(struct drm_device *);
|
||||
void nv04_display_late_takedown(struct drm_device *);
|
||||
|
Reference in New Issue
Block a user