lib: stackdepot: add support to disable stack depot
[linux-2.6-microblaze.git] / include / linux / extcon.h
index 1b1d77e..fd183fb 100644 (file)
@@ -286,6 +286,11 @@ static inline struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev,
 {
        return ERR_PTR(-ENODEV);
 }
+
+static inline const char *extcon_get_edev_name(struct extcon_dev *edev)
+{
+       return NULL;
+}
 #endif /* CONFIG_EXTCON */
 
 /*