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:
@@ -20,6 +20,10 @@
|
|||||||
static device_manager_info *sDeviceManager;
|
static device_manager_info *sDeviceManager;
|
||||||
|
|
||||||
|
|
||||||
|
// HACK! this device manager stuff just sucks!
|
||||||
|
extern pci_device pd;
|
||||||
|
|
||||||
|
|
||||||
static status_t
|
static status_t
|
||||||
register_sim(device_node_handle parent)
|
register_sim(device_node_handle parent)
|
||||||
{
|
{
|
||||||
@@ -149,7 +153,6 @@ ahci_register_device(device_node_handle parent)
|
|||||||
return status;
|
return status;
|
||||||
|
|
||||||
// HACK! this device manager stuff just sucks!
|
// HACK! this device manager stuff just sucks!
|
||||||
extern pci_device pd;
|
|
||||||
pd = *pciDevice;
|
pd = *pciDevice;
|
||||||
|
|
||||||
// TODO: register SIM for every controller we find!
|
// TODO: register SIM for every controller we find!
|
||||||
|
|||||||
Reference in New Issue
Block a user