lkml.org 
[lkml]   [2008]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCHv2 13/28] zd1201: treat firmware data as const
    Date
    Signed-off-by: David Woodhouse <dwmw2@infradead.org>
    ---
    drivers/net/wireless/zd1201.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/net/wireless/zd1201.c b/drivers/net/wireless/zd1201.c
    index d5c0c66..78baa0f 100644
    --- a/drivers/net/wireless/zd1201.c
    +++ b/drivers/net/wireless/zd1201.c
    @@ -49,7 +49,7 @@ MODULE_DEVICE_TABLE(usb, zd1201_table);
    static int zd1201_fw_upload(struct usb_device *dev, int apfw)
    {
    const struct firmware *fw_entry;
    - char *data;
    + const char *data;
    unsigned long len;
    int err;
    unsigned char ret;
    --
    1.5.4.5


    \
     
     \ /
      Last update: 2008-05-25 12:29    [W:0.031 / U:298.524 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site