]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/edac/edac_core.h
Merge remote-tracking branch 'input-current/for-linus'
[karo-tx-linux.git] / drivers / edac / edac_core.h
index ad42587c3f4d6e60d25ccb49fd9550b3341e6984..4861542163d704fe4f629777b04df791b5c790ea 100644 (file)
@@ -94,6 +94,8 @@ do {                                                                  \
 
 #define edac_dev_name(dev) (dev)->dev_name
 
+#define to_mci(k) container_of(k, struct mem_ctl_info, dev)
+
 /*
  * The following are the structures to provide for a generic
  * or abstract 'edac_device'. This set of structures and the