kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* How to use spi device from another kernel module?
@ 2016-12-06 19:42 Ran Shalit
  2016-12-07  5:12 ` Joel Fernandes
  0 siblings, 1 reply; 8+ messages in thread
From: Ran Shalit @ 2016-12-06 19:42 UTC (permalink / raw)
  To: kernelnewbies

Hello,

I have spi device which is registered using spi_register_board_info(),
and I would like to get a pointer to this device in some other kernel module.

Is there a simple way to get a pointer to pointer to a device , so
that we can use it from other module ? (something like i2c_get_adapter
for i2c)

Regards,
Ran

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

end of thread, other threads:[~2016-12-08 10:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-06 19:42 How to use spi device from another kernel module? Ran Shalit
2016-12-07  5:12 ` Joel Fernandes
2016-12-07  7:02   ` Greg KH
2016-12-07 15:27     ` Ran Shalit
2016-12-07 16:58     ` Joel Fernandes
2016-12-07 17:26       ` Ran Shalit
2016-12-07 18:21         ` Ran Shalit
2016-12-08 10:42           ` Ran Shalit

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).