This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[PATCH] DM81XX: PTP class driver: Fix compiler warnings

Hello,

We are publishing this patch here because the linux GIT tree associated with this SoC (http://arago-project.org/git/projects/?p=linux-omap3.git;a=summary) has no mailing list for discussing patches (as far as we know). We hope it will be useful to others and be eventually merged in TI's source tree.

Regards
--
Delio Brignoli

Author: Delio Brignoli <dbrignoli@audioscience.com>
Date:   Wed Jan 9 00:17:16 2013 +0100

    PTP class driver: Fix compiler warnings

diff --git a/drivers/ptp/ptp_private.h b/drivers/ptp/ptp_private.h
index 04fff62..06f2161 100644
--- a/drivers/ptp/ptp_private.h
+++ b/drivers/ptp/ptp_private.h
@@ -44,7 +44,7 @@ struct ptp_clock {
        struct ptp_clock_info *info;
        dev_t devid;
        int index; /* index into clocks.map */
-       struct pps_device *pps_source;
+       int pps_source;
        struct timestamp_event_queue tsevq; /* simple fifo for time stamps */
        struct mutex tsevq_mux; /* one process at a time reading the fifo */
        wait_queue_head_t tsev_wq;