arm: msm: smd: checkpatch clean up of smd/proc_comm
[safe/jmp/linux-2.6] / arch / arm / mach-msm / include / mach / msm_smd.h
index bdf7731..029463e 100644 (file)
@@ -19,6 +19,8 @@
 
 typedef struct smd_channel smd_channel_t;
 
+extern int (*msm_check_for_modem_crash)(void);
+
 /* warning: notify() may be called before open returns */
 int smd_open(const char *name, smd_channel_t **ch, void *priv,
             void (*notify)(void *priv, unsigned event));
@@ -38,6 +40,7 @@ int smd_read(smd_channel_t *ch, void *data, int len);
 ** it will return the requested length written or an error.
 */
 int smd_write(smd_channel_t *ch, const void *data, int len);
+int smd_write_atomic(smd_channel_t *ch, const void *data, int len);
 
 int smd_write_avail(smd_channel_t *ch);
 int smd_read_avail(smd_channel_t *ch);
@@ -62,8 +65,7 @@ int smd_wait_until_readable(smd_channel_t *ch, int bytes);
 int smd_wait_until_writable(smd_channel_t *ch, int bytes);
 #endif
 
-typedef enum
-{
+typedef enum {
        SMD_PORT_DS = 0,
        SMD_PORT_DIAG,
        SMD_PORT_RPC_CALL,