mei: move watchdog prototypes to mei_dev.h from interface.h
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 8 Jan 2013 21:07:16 +0000 (23:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jan 2013 00:40:45 +0000 (16:40 -0800)
interface.h contains lower layer functionality

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/interface.h
drivers/misc/mei/mei_dev.h

index 01d1ef518595100b966285986eb45d6a39280a60..73bef545e4d5a71c6ac113c6f4903ac18827c97c 100644 (file)
@@ -49,24 +49,4 @@ static inline unsigned char mei_data2slots(size_t length)
 
 int mei_count_full_read_slots(struct mei_device *dev);
 
-
-
-
-
-int mei_wd_send(struct mei_device *dev);
-int mei_wd_stop(struct mei_device *dev);
-int mei_wd_host_init(struct mei_device *dev);
-/*
- * mei_watchdog_register  - Registering watchdog interface
- *   once we got connection to the WD Client
- * @dev - mei device
- */
-void mei_watchdog_register(struct mei_device *dev);
-/*
- * mei_watchdog_unregister  - Unregistering watchdog interface
- * @dev - mei device
- */
-void mei_watchdog_unregister(struct mei_device *dev);
-
-
 #endif /* _MEI_INTERFACE_H_ */
index f3da1533c6191c3524f6f86b049d8cf4f928a510..d41177b3fc6995d843a3f5a3c8d63c60d8ccd15f 100644 (file)
@@ -371,6 +371,23 @@ int mei_amthif_irq_read_message(struct mei_cl_cb *complete_list,
                struct mei_device *dev, struct mei_msg_hdr *mei_hdr);
 int mei_amthif_irq_read(struct mei_device *dev, s32 *slots);
 
+
+int mei_wd_send(struct mei_device *dev);
+int mei_wd_stop(struct mei_device *dev);
+int mei_wd_host_init(struct mei_device *dev);
+/*
+ * mei_watchdog_register  - Registering watchdog interface
+ *   once we got connection to the WD Client
+ * @dev - mei device
+ */
+void mei_watchdog_register(struct mei_device *dev);
+/*
+ * mei_watchdog_unregister  - Unregistering watchdog interface
+ * @dev - mei device
+ */
+void mei_watchdog_unregister(struct mei_device *dev);
+
+
 /*
  * Register Access Function
  */