]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/vme/vme_bridge.h
Merge remote-tracking branch 'char-misc/char-misc-next'
[karo-tx-linux.git] / drivers / vme / vme_bridge.h
index 397578a738839756f7787d9b39556fd32b1277e1..b59cbee231dd2e9e46b3815477408fe07302be71 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _VME_BRIDGE_H_
 #define _VME_BRIDGE_H_
 
+#include <linux/vme.h>
+
 #define VME_CRCSR_BUF_SIZE (508*1024)
 /*
  * Resource structures
@@ -91,7 +93,7 @@ struct vme_callback {
 
 struct vme_irq {
        int count;
-       struct vme_callback callback[255];
+       struct vme_callback callback[VME_NUM_STATUSID];
 };
 
 /* Allow 16 characters for name (including null character) */