lkml.org 
[lkml]   [2012]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2 3/3] ARM: OMAP: ocp2scp: create omap device for ocp2scp
Date
On Friday 26 October 2012, Felipe Balbi wrote:
> > +static void omap_init_ocp2scp(void)
> > +{
> > + struct omap_hwmod *oh;
> > + struct platform_device *pdev;
> > + int bus_id = -1, dev_cnt = 0, i;
> > + struct omap_ocp2scp_dev *ocp2scp_dev;
> > + const char *oh_name, *name;
> > + struct omap_ocp2scp_platform_data *pdata;
> > +
> > + oh_name = "ocp2scp_usb_phy";
> > + name = "omap-ocp2scp";
>
> how about adding checks here to return early case we're not running on
> OMAP4 or OMAP5 ??
>

I suppose even OMAP4-only, since OMAP5 always has DT enabled.

Arnd


\
 
 \ /
  Last update: 2012-10-26 10:21    [W:0.132 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site