device_t -> struct device conversions.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://coreboot.org/repository/coreboot-v3@768 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
60a9026573
commit
6077bbb909
2 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@
|
|||
#include <device/pci_ops.h>
|
||||
#include "amd8111.h"
|
||||
|
||||
static void lpci_set_subsystem(device_t dev, unsigned vendor, unsigned device)
|
||||
static void lpci_set_subsystem(struct device * dev, unsigned vendor, unsigned device)
|
||||
{
|
||||
pci_write_config32(dev, 0x2c,
|
||||
((device & 0xffff) << 16) | (vendor & 0xffff));
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef AMD8111_H
|
||||
#define AMD8111_H
|
||||
|
||||
void amd8111_enable(device_t dev);
|
||||
void amd8111_enable(struct device * dev);
|
||||
|
||||
#endif /* AMD8111_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue