extcon: add EXPORT_SYMBOL_GPL for exported functions
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 3 Jun 2013 16:13:38 +0000 (01:13 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jun 2013 23:03:35 +0000 (16:03 -0700)
Added EXPORT_SYMBOL_GPL() for extcon_register_interest and
extcon_register_notifier in order to avoid undefined reference
error when building the consumer modules of extcon as _modules_.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/extcon/extcon-class.c

index a5a03ae069eed2c302c6434468c728a3265c346f..8c69803558fe9f70df26fcbba6720a5c1cf3aec4 100644 (file)
@@ -481,6 +481,7 @@ int extcon_register_interest(struct extcon_specific_cable_nb *obj,
                return -ENODEV;
        }
 }
+EXPORT_SYMBOL_GPL(extcon_register_interest);
 
 /**
  * extcon_unregister_interest() - Unregister the notifier registered by
@@ -495,6 +496,7 @@ int extcon_unregister_interest(struct extcon_specific_cable_nb *obj)
 
        return raw_notifier_chain_unregister(&obj->edev->nh, &obj->internal_nb);
 }
+EXPORT_SYMBOL_GPL(extcon_unregister_interest);
 
 /**
  * extcon_register_notifier() - Register a notifiee to get notified by