projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3439633
)
nouveau: fix powerpc build
author
Dave Airlie
<airlied@redhat.com>
Fri, 28 Aug 2015 08:18:10 +0000
(18:18 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 28 Aug 2015 08:18:10 +0000
(18:18 +1000)
Reported-by: Ilia Mirkin on irc.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowof.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowof.c
b/drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowof.c
index
29a37f0
..
bd60d7d
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowof.c
+++ b/
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowof.c
@@
-21,7
+21,7
@@
*
*/
#include "priv.h"
-
+#include <core/pci.h>
#if defined(__powerpc__)
struct priv {
@@
-43,7
+43,7
@@
of_read(void *data, u32 offset, u32 length, struct nvkm_bios *bios)
static void *
of_init(struct nvkm_bios *bios, const char *name)
{
- struct pci_dev *pdev = bios->subdev.device->pdev;
+ struct pci_dev *pdev = bios->subdev.device->
func->pci(bios->subdev.device)->
pdev;
struct device_node *dn;
struct priv *priv;
if (!(dn = pci_device_to_OF_node(pdev)))