mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-12 15:44:01 +08:00
drm/nouveau/bios: fix oops on pre-nv50 chipsets
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
9f6d2ce305
commit
c7e873f85f
@ -44,9 +44,11 @@ static void
|
||||
pramin_fini(void *data)
|
||||
{
|
||||
struct priv *priv = data;
|
||||
if (priv) {
|
||||
nv_wr32(priv->bios, 0x001700, priv->bar0);
|
||||
kfree(priv);
|
||||
}
|
||||
}
|
||||
|
||||
static void *
|
||||
pramin_init(struct nouveau_bios *bios, const char *name)
|
||||
|
Loading…
Reference in New Issue
Block a user