diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/of.h | 5 | ||||
-rw-r--r-- | include/linux/pata_arasan_cf_data.h | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/of.h b/include/linux/of.h index 1b671c3809b8..1fd08ca23106 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -387,6 +387,11 @@ static inline int of_device_is_compatible(const struct device_node *device, return 0; } +static inline int of_device_is_available(const struct device_node *device) +{ + return 0; +} + static inline struct property *of_find_property(const struct device_node *np, const char *name, int *lenp) diff --git a/include/linux/pata_arasan_cf_data.h b/include/linux/pata_arasan_cf_data.h index a7b4fc386e63..3cc21c9cc1e8 100644 --- a/include/linux/pata_arasan_cf_data.h +++ b/include/linux/pata_arasan_cf_data.h @@ -37,8 +37,6 @@ struct arasan_cf_pdata { #define CF_BROKEN_PIO (1) #define CF_BROKEN_MWDMA (1 << 1) #define CF_BROKEN_UDMA (1 << 2) - /* This is platform specific data for the DMA controller */ - void *dma_priv; }; static inline void |