compile fix for gcc 2.95
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22078 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
183bd9f434
commit
e63ca93e6a
@ -20,6 +20,10 @@
|
||||
static device_manager_info *sDeviceManager;
|
||||
|
||||
|
||||
// HACK! this device manager stuff just sucks!
|
||||
extern pci_device pd;
|
||||
|
||||
|
||||
static status_t
|
||||
register_sim(device_node_handle parent)
|
||||
{
|
||||
@ -149,7 +153,6 @@ ahci_register_device(device_node_handle parent)
|
||||
return status;
|
||||
|
||||
// HACK! this device manager stuff just sucks!
|
||||
extern pci_device pd;
|
||||
pd = *pciDevice;
|
||||
|
||||
// TODO: register SIM for every controller we find!
|
||||
|
Loading…
Reference in New Issue
Block a user