# Re: \[PATCH v3 2/6\] scsi: core: Move scsi\_device\_from\_queue() to scsi\_priv.h

- From: Bart Van Assche \<bvanassche@acm.org\>
- Date: 2026-06-04 15:55:05 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2026/06/17089731
- Thread: https://ratatoskr.run/linux-mips/2026/05/17064738/t.md

```text
On 6/4/26 6:20 AM, Catalin Iacob wrote:
> scsi_device_from_queue() is only referenced in drivers/scsi so move its
> prototype to drivers/scsi/scsi_priv.h.
The subject of this patch suggests that the implementation of the
scsi_device_from_queue() function is moved while only the declaration
is moved.

Thanks,

Bart.

```
