X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Fmacintosh%2Ftherm_pm72.c;h=2e4ad44a863640424745e711f5bd73b0a5703af6;hb=a3fa3aba7a0e00aa1cbb13c9e9bed162fa057973;hp=d00c0c37a12e2c2c443148a2361b27e0e29ff98e;hpb=6bbd9b6d694ff7242d63cda2faac4bd59ee4328e;p=powerpc.git diff --git a/drivers/macintosh/therm_pm72.c b/drivers/macintosh/therm_pm72.c index d00c0c37a1..2e4ad44a86 100644 --- a/drivers/macintosh/therm_pm72.c +++ b/drivers/macintosh/therm_pm72.c @@ -129,6 +129,7 @@ #include #include #include +#include #include "therm_pm72.h" @@ -2236,14 +2237,14 @@ static int __init therm_pm72_init(void) return -ENODEV; } - of_register_driver(&fcu_of_platform_driver); + of_register_platform_driver(&fcu_of_platform_driver); return 0; } static void __exit therm_pm72_exit(void) { - of_unregister_driver(&fcu_of_platform_driver); + of_unregister_platform_driver(&fcu_of_platform_driver); if (of_dev) of_device_unregister(of_dev);