+#else /* CONFIG_OF */
+static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host)
+{
+ return ERR_PTR(-EINVAL);
+}
+#endif /* CONFIG_OF */
+
int dw_mci_probe(struct dw_mci *host)
{
int width, i, ret = 0;
u32 fifo_size;
On Thursday, September 20, 2012, Thomas Abraham
wrote:
> On 19 September 2012 19:09, Seungwon Jeon wrote:
> > On Tuesday, September 18, 2012, Thomas Abraham
> > wrote:
> >> +#ifdef CONFIG_OF
> >> +/* given a slot id, find out the device node representing that slot */
> >> +static struct device
On 19 September 2012 19:09, Seungwon Jeon wrote:
> On Tuesday, September 18, 2012, Thomas Abraham
> wrote:
>> +#ifdef CONFIG_OF
>> +/* given a slot id, find out the device node representing that slot */
>> +static struct device_node *dw_mci_of_find_slot_node(struct device *dev, u8
>> slot)
>> +
On Tuesday, September 18, 2012, Thomas Abraham
wrote:
> +#ifdef CONFIG_OF
> +/* given a slot id, find out the device node representing that slot */
> +static struct device_node *dw_mci_of_find_slot_node(struct device *dev, u8
> slot)
> +{
> + struct device_node *np;
> + const __be32 *add