Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 305349
b: refs/heads/master
c: e074d08
h: refs/heads/master
i:
  305347: eb5c25e
v: v3
  • Loading branch information
Benjamin Herrenschmidt committed Apr 30, 2012
1 parent d28529c commit a1d67d5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e326b30fda9a985a2e7fda6fb9212b86bf025c39
refs/heads/master: e074d08e2b98db1b19328bb9395052b34366831d
23 changes: 12 additions & 11 deletions trunk/drivers/macintosh/windfarm.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ struct wf_control_ops {
};

struct wf_control {
struct list_head link;
struct wf_control_ops *ops;
char *name;
int type;
struct kref ref;
struct device_attribute attr;
struct list_head link;
const struct wf_control_ops *ops;
const char *name;
int type;
struct kref ref;
struct device_attribute attr;
};

#define WF_CONTROL_TYPE_GENERIC 0
Expand Down Expand Up @@ -85,11 +85,12 @@ struct wf_sensor_ops {
};

struct wf_sensor {
struct list_head link;
struct wf_sensor_ops *ops;
char *name;
struct kref ref;
struct device_attribute attr;
struct list_head link;
const struct wf_sensor_ops *ops;
const char *name;
struct kref ref;
struct device_attribute attr;
void *priv;
};

/* Same lifetime rules as controls */
Expand Down

0 comments on commit a1d67d5

Please sign in to comment.