lkml.org 
[lkml]   [2008]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] documentation: fix firmware_sample_firmware_class to build
    Greg KH wrote:
    > On Mon, Feb 18, 2008 at 04:22:16PM -0800, Randy Dunlap wrote:
    >> From: Randy Dunlap <randy.dunlap@oracle.com>
    >>
    >> Fix firmware_sample_firmware_class module to build without error.
    >> sysfs.h already has the function prototypes and has them correctly.
    >>
    >> Documentation/firmware_class/firmware_sample_firmware_class.c:37: error: conflicting types for 'sysfs_remove_bin_file'
    >> include/linux/sysfs.h:100: error: previous declaration of 'sysfs_remove_bin_file' was here
    >>
    >> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
    >> ---
    >> Documentation/firmware_class/firmware_sample_firmware_class.c | 3 ---
    >> 1 file changed, 3 deletions(-)
    >
    > Can we move this file to the samples/ directory, so the build will catch
    > stuff like this?
    >
    > What's the final version of this patch?

    I've moved it to samples/, but it (still) has a build problem:

    ERROR: "firmware_class" [samples/firmware_class/firmware_sample_firmware_class.ko] undefined!

    Can you give me hint(s) about how to fix that?

    --
    ~Randy


    \
     
     \ /
      Last update: 2008-02-20 21:15    [W:0.023 / U:0.860 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site