Add pci_devfn_t and use with  __SIMPLE_DEVICE__

Declare the functions that may be used in both romstage and ramstage
with simple device model. This will later allow to define PCI access
functions for ramstage using the inlined functions from romstage.

Change-Id: I32ff622883ceee4628e6b1b01023b970e379113f
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/3508
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 797e717..1056be7 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -11,6 +11,7 @@
 
 #ifndef __SIMPLE_DEVICE__
 typedef struct device * device_t;
+typedef u32 pci_devfn_t;
 struct pci_operations;
 struct pci_bus_operations;
 struct smbus_bus_operations;