linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [i2c-mpc.c] adding entry for mpc8360
@ 2012-01-12 15:34 Richard Retanubun
       [not found] ` <4F0EFD78.3020708-4VtgCsEi+FIybS5Ee8rs3A@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Retanubun @ 2012-01-12 15:34 UTC (permalink / raw)
  To: wg-ynQEQJNshbs; +Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA

Hello,

I am wondering if it is okay to add .compatible entries for mpc8360 and declare its data structure
to mpc-i2c.c

something like this:

{.compatible = "fsl,mpc8360-i2c", .data = &mpc_i2c_data_8360, },

static struct mpc_i2c_data mpc_i2c_data_8360 __devinitdata = {
	.setup = mpc_i2c_setup_8xxx,
};

or is the intended approach to match the closest thing to your CPU (in this case mpc8313) ?

-- 
Richard Retanubun

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-13 16:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-12 15:34 [i2c-mpc.c] adding entry for mpc8360 Richard Retanubun
     [not found] ` <4F0EFD78.3020708-4VtgCsEi+FIybS5Ee8rs3A@public.gmane.org>
2012-01-13  7:26   ` Wolfgang Grandegger
     [not found]     ` <4F0FDCAA.1040203-ynQEQJNshbs@public.gmane.org>
2012-01-13 16:05       ` Richard Retanubun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).