]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Families/IONVRAM/IONVRAMController.cpp
xnu-3247.1.106.tar.gz
[apple/xnu.git] / iokit / Families / IONVRAM / IONVRAMController.cpp
index 7a866c5af69d6b1e008017cd45541716be67a765..4d8829507acf96d8f25d7d1098e82d3e4c18badc 100644 (file)
@@ -38,13 +38,11 @@ OSDefineAbstractStructors(IONVRAMController, IOService);
 // init
 //
 // ****************************************************************************
-bool IONVRAMController::start(IOService *provider)
+void IONVRAMController::registerService(IOOptionBits options)
 {
-  if(!super::start(provider)) return false;
-  
-  getPlatform()->registerNVRAMController(this);
-  
-  return true;
+       super::registerService(options);
+
+       getPlatform()->registerNVRAMController(this);
 }
 
 // ****************************************************************************