of: add 'of_' prefix to machine_is_compatible()
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / platforms / cell / cbe_powerbutton.c
index dcddaa5fcb665164bcd0b25370f28bd3fb9d934c..f75a4daa4ca2821439b17177a43a0969e1d2cf82 100644 (file)
@@ -48,7 +48,7 @@ static int __init cbe_powerbutton_init(void)
        int ret = 0;
        struct input_dev *dev;
 
-       if (!machine_is_compatible("IBM,CBPLUS-1.0")) {
+       if (!of_machine_is_compatible("IBM,CBPLUS-1.0")) {
                printk(KERN_ERR "%s: Not a cell blade.\n", __func__);
                ret = -ENODEV;
                goto out;