regmap: merge regmap_update_bits_check() into macro
[deliverable/linux.git] / include / linux / fb.h
index 3d003805aac32ab1880c432cf556da8c5c29e14c..55433f86f0a323930d237733507a284be83607aa 100644 (file)
@@ -175,9 +175,27 @@ struct fb_blit_caps {
        u32 flags;
 };
 
+#ifdef CONFIG_FB_NOTIFY
 extern int fb_register_client(struct notifier_block *nb);
 extern int fb_unregister_client(struct notifier_block *nb);
 extern int fb_notifier_call_chain(unsigned long val, void *v);
+#else
+static inline int fb_register_client(struct notifier_block *nb)
+{
+       return 0;
+};
+
+static inline int fb_unregister_client(struct notifier_block *nb)
+{
+       return 0;
+};
+
+static inline int fb_notifier_call_chain(unsigned long val, void *v)
+{
+       return 0;
+};
+#endif
+
 /*
  * Pixmap structure definition
  *
This page took 0.027281 seconds and 5 git commands to generate.