안녕하세요.. 어떻게 보면 C언어를 잘 모르는 문제일수도 있겠네요..
다음과 같은 소스를 먼저 봐 주시면 감사하겠습니다.. (_._);;.
TEST.c 파일에 다음과 같이 구조체 변수를 정의했습니다.
struct file_operations device_fops = {
open device_open,
release device_release,
read device_read,
write device_write,
};
******************요기까지는 A******************
그런데 file_operation이라는 구조체는
어떤 헤더파일에 다음과 같이 만들어져 있습니다.
struct file_operations {