# Re: \[PATCH v3 11/14\] nubus: Rename struct nubus\_dev

- From: Bartlomiej Zolnierkiewicz \<hidden\>
- Date: 2017-12-05 13:50:52 
- List: netdev
- Page: https://ratatoskr.run/netdev/2017/12/5149369
- Thread: https://ratatoskr.run/linux-m68k/2017/12/5149026/t.md

```text
On Tuesday, December 05, 2017 01:20:02 AM Finn Thain wrote:
> It is misleading to call a functional resource a "device". In adopting
> the Linux Driver Model, the struct device will be embedded in struct
> nubus_board. That will compound the terminlogy problem because drivers
> will bind with boards, not with functional resources. Avoid this by
> renaming struct nubus_dev as struct nubus_rsrc. "Functional resource"
> is the vendor's terminology so this helps avoid confusion.
> 
> Cc: Bartlomiej Zolnierkiewicz <redacted>
> Tested-by: Stan Johnson <redacted>
> Signed-off-by: Finn Thain <redacted>

Acked-by: Bartlomiej Zolnierkiewicz <redacted>

for fbdev part

> ---
>  drivers/net/ethernet/8390/mac8390.c     |  26 ++++----
>  drivers/net/ethernet/natsemi/macsonic.c |  22 +++----
>  drivers/nubus/nubus.c                   | 105 ++++++++++++++++----------------
>  drivers/nubus/proc.c                    |  15 ++---
>  drivers/video/fbdev/macfb.c             |   2 +-
>  include/linux/nubus.h                   |  30 +++++----
>  6 files changed, 98 insertions(+), 102 deletions(-)

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
```
