]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/relay.h
[CPUFREQ] Rewrite lock in cpufreq to eliminate cpufreq/hotplug related issues
[linux-2.6-omap-h63xx.git] / include / linux / relay.h
index 24accb483849c86415406a33ff685bc927900441..c6a48bfc8b14700b5dee19e9b6630744c5187129 100644 (file)
@@ -38,7 +38,7 @@ struct rchan_buf
        size_t subbufs_consumed;        /* count of sub-buffers consumed */
        struct rchan *chan;             /* associated channel */
        wait_queue_head_t read_wait;    /* reader wait queue */
-       struct work_struct wake_readers; /* reader wake-up work struct */
+       struct delayed_work wake_readers; /* reader wake-up work struct */
        struct dentry *dentry;          /* channel file dentry */
        struct kref kref;               /* channel buffer refcount */
        struct page **page_array;       /* array of current buffer pages */
@@ -274,7 +274,7 @@ static inline void subbuf_start_reserve(struct rchan_buf *buf,
 /*
  * exported relay file operations, kernel/relay.c
  */
-extern struct file_operations relay_file_operations;
+extern const struct file_operations relay_file_operations;
 
 #endif /* _LINUX_RELAY_H */