FreeBSD/sys/arm/ti/ti_pinmux.c
/*
 * Device part of OMAP SCM driver
 */
Device part of OMAP SCM driver
Device part of OMAP SCM driver
static int
ti_pinmux_probe(device_t dev)
{
	if (!ofw_bus_status_okay(dev))
		return (ENXIO);
	if (!ofw_bus_is_compatible(dev, "pinctrl-single"))
		return (ENXIO);
	if (ti_pinmux_sc) {
		printf("%s: multiple pinctrl modules in device tree data, ignoring\n",
		    __func__);
		return (EEXIST);
	}
	device_set_desc(dev, "TI Pinmux Module");
	return (BUS_PROBE_DEFAULT);
}
static int ti_pinmux_probe ( device_t dev ) { if ( ! ofw_bus_status_okay ( dev ) ) return ( ENXIO ) ; if ( ! ofw_bus_is_compatible ( dev , " " ) ) return ( ENXIO ) ; if ( ti_pinmux_sc ) { printf ( " \n " , __func__ ) ; return ( EEXIST ) ; } device_set_desc ( dev , " " ) ; return ( BUS_PROBE_DEFAULT ) ; }
Device part of OMAP SCM driver
Device part of OMAP SCM driver