diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-02-27 11:37:38 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-02-27 11:37:38 +0100 |
commit | 14b1c2ada25fa2304c3198eb35e7b0c5b44e1745 (patch) | |
tree | e363f4f9b554bf948eda1e463caa0fe76f9ef455 | |
parent | 42c4adb10051407b86dd18838bf2bf27eaa7d366 (diff) | |
parent | 4e13ed5cc4e633a9dc8f7e3cb8ca171df56710d5 (diff) | |
download | alsa-driver-build-unstable-14b1c2ada25fa2304c3198eb35e7b0c5b44e1745.tar.gz |
Merge remote-tracking branch 'stable/build' into build
-rw-r--r-- | alsa/include/adriver.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/alsa/include/adriver.h b/alsa/include/adriver.h index a9eb0d9dd..ab96510e7 100644 --- a/alsa/include/adriver.h +++ b/alsa/include/adriver.h @@ -1802,6 +1802,13 @@ static inline int sysfs_create_groups(struct kobject *kobj, return 0; } +#ifndef __ATTR_WO +#define __ATTR_WO(_name) { \ + .attr = { .name = __stringify(_name), .mode = S_IWUSR }, \ + .store = _name##_store, \ +} +#endif + #ifndef DEVICE_ATTR_WO #define DEVICE_ATTR_WO(_name) \ struct device_attribute dev_attr_##_name = __ATTR_WO(_name) |