extern void smscore_unregister_hotplug(hotplug_t hotplug);
extern int smscore_register_device(struct smsdevice_params_t *params,
- struct smscore_device_t **coredev);
+ struct smscore_device_t **coredev,
+ void *mdev);
extern void smscore_unregister_device(struct smscore_device_t *coredev);
extern int smscore_start_device(struct smscore_device_t *coredev);
/* ------------------------------------------------------------------------ */
-#define DBG_INFO 1
-#define DBG_ADV 2
-
-#define sms_log(fmt, arg...) pr_info(fmt "\n", ##arg)
-#define sms_err(fmt, arg...) pr_err(fmt " on line: %d\n", ##arg, __LINE__)
-#define sms_warn(fmt, arg...) pr_warn(fmt "\n", ##arg)
-#define sms_info(fmt, arg...) do {\
- if (sms_dbg & DBG_INFO) \
- pr_info(fmt "\n", ##arg); \
-} while (0)
-
-#define sms_debug(fmt, arg...) do {\
- if (sms_dbg & DBG_ADV) \
- printk(KERN_DEBUG pr_fmt(fmt "\n"), ##arg); \
-} while (0)
-
#endif /* __SMS_CORE_API_H__ */