Re: [PATCH 2/7] mfd: add mc34708 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Tue, 21 Feb 2012 04:48:35 +0100,
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> a écrit :

> > +static struct mc34708 *mc_dev;
> > +
> > +struct mc34708 *mc34708_get(void)
> > +{
> > +	if (!mc_dev)
> > +		return NULL;
> > +
> > +	return mc_dev;
> > +}
> > +EXPORT_SYMBOL(mc34708_get);
> no please do not export the current as it will not alloe multiple chip on
> board
you can't have more than one of this chip on the board connected to
the same CPU.

Eric
-- 
http://eukrea.com/en/news/104-2012

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux