Эх сурвалжийг харах

Merge remote-tracking branch 'regmap/topic/core' into regmap-next

Mark Brown 11 жил өмнө
parent
commit
dfdb3c4d18

+ 4 - 2
drivers/base/regmap/internal.h

@@ -51,9 +51,11 @@ struct regmap_async {
 struct regmap {
 struct regmap {
 	union {
 	union {
 		struct mutex mutex;
 		struct mutex mutex;
-		spinlock_t spinlock;
+		struct {
+			spinlock_t spinlock;
+			unsigned long spinlock_flags;
+		};
 	};
 	};
-	unsigned long spinlock_flags;
 	regmap_lock lock;
 	regmap_lock lock;
 	regmap_unlock unlock;
 	regmap_unlock unlock;
 	void *lock_arg; /* This is passed to lock/unlock functions */
 	void *lock_arg; /* This is passed to lock/unlock functions */