Commit 081d2786 authored by Russell King's avatar Russell King

[ARM] Add missing ecard_resource_flags() macro.

parent 3f6a2676
...@@ -143,6 +143,7 @@ typedef struct { /* Card handler routines */ ...@@ -143,6 +143,7 @@ typedef struct { /* Card handler routines */
#define ecard_resource_end(ec,nr) ((ec)->resource[nr].end) #define ecard_resource_end(ec,nr) ((ec)->resource[nr].end)
#define ecard_resource_len(ec,nr) ((ec)->resource[nr].end - \ #define ecard_resource_len(ec,nr) ((ec)->resource[nr].end - \
(ec)->resource[nr].start + 1) (ec)->resource[nr].start + 1)
#define ecard_resource_flags(ec,nr) ((ec)->resource[nr].flags)
/* /*
* This contains all the info needed on an expansion card * This contains all the info needed on an expansion card
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment