# \[rtc-linux\] Re: \[PATCH v3 01/16\] chardev: add helper function to register char devs with a struct device

- From: Logan Gunthorpe \<logang@deltatee.com\>
- Date: 2017-03-16 17:38:40 
- List: linux-rtc
- Page: https://ratatoskr.run/linux-rtc/2017/03/119386
- Thread: https://ratatoskr.run/linux-fsdevel/2017/03/119386/t.md

```text
> I don't know why kbuild didn't catch these before, but it looks like we
> really need to include device.h in cdev.h now to fix up these build
> warnings, right?

> I'll try that out and rebase the char-misc-testing tree in the morning
> to see if that fixes the build problems...


Yeah, I think the kbuild robot missed the series because the vger
mailing lists were dropping this series :(

I also don't know why my kernel config didn't catch this warning but
I reproduced and fixed it with the kbuild's config. I'll send an updated
patch which adds a include device.h line to cdev.h momentarily.

Logan

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
```
