[問題]請教如何將Linux Driver 寫成2個*.c file
請教各位:
因為需要在 driver.c 內多寫一些function 而造成 c file 看起來很亂.
我想將 driver.c 內部分 function 移到另一個 *.c file (Ex: drv_func.c)
在不修改 Makefile 及 Kconfig 的前提下可以做到嗎.??
THANKS
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 42.73.65.100
※ 文章網址: https://www.ptt.cc/bbs/LinuxDev/M.1431330552.A.98F.html
→
05/11 16:04, , 1F
05/11 16:04, 1F
→
05/11 16:21, , 2F
05/11 16:21, 2F
推
05/11 17:00, , 3F
05/11 17:00, 3F
→
05/11 20:41, , 4F
05/11 20:41, 4F
→
05/12 01:23, , 5F
05/12 01:23, 5F
→
05/12 21:05, , 6F
05/12 21:05, 6F
→
05/12 21:08, , 7F
05/12 21:08, 7F
→
05/12 22:46, , 8F
05/12 22:46, 8F
→
05/13 09:46, , 9F
05/13 09:46, 9F
→
05/13 09:48, , 10F
05/13 09:48, 10F
推
05/13 20:26, , 11F
05/13 20:26, 11F
→
05/13 20:28, , 12F
05/13 20:28, 12F
推
05/14 01:33, , 13F
05/14 01:33, 13F
→
05/14 01:33, , 14F
05/14 01:33, 14F
→
05/14 01:35, , 15F
05/14 01:35, 15F
→
05/14 01:41, , 16F
05/14 01:41, 16F
→
05/14 09:52, , 17F
05/14 09:52, 17F
→
05/14 09:53, , 18F
05/14 09:53, 18F
→
05/14 09:54, , 19F
05/14 09:54, 19F
→
05/14 09:55, , 20F
05/14 09:55, 20F
→
05/14 09:56, , 21F
05/14 09:56, 21F
→
05/14 09:57, , 22F
05/14 09:57, 22F
→
05/14 09:59, , 23F
05/14 09:59, 23F
LinuxDev 近期熱門文章
PTT數位生活區 即時熱門文章