ptp: expose the programmable pins via sysfs
This patch adds the sysfs hooks needed in order to get and set the programmable pin settings. Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committad av
David S. Miller

förälder
888a36871e
incheckning
653104d19a
@@ -51,6 +51,9 @@ struct ptp_clock {
|
||||
struct mutex pincfg_mux; /* protect concurrent info->pin_config access */
|
||||
wait_queue_head_t tsev_wq;
|
||||
int defunct; /* tells readers to go away when clock is being removed */
|
||||
struct device_attribute *pin_dev_attr;
|
||||
struct attribute **pin_attr;
|
||||
struct attribute_group pin_attr_group;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Referens i nytt ärende
Block a user