lkml.org 
[lkml]   [2008]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 10/33] drm/i915: Make static
    Sparse asked whether these could be static.

    Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
    ---
    drivers/gpu/drm/i915/i915_opregion.c | 4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/gpu/drm/i915/i915_opregion.c b/drivers/gpu/drm/i915/i915_opregion.c
    index 13ae731..53dd21c 100644
    --- a/drivers/gpu/drm/i915/i915_opregion.c
    +++ b/drivers/gpu/drm/i915/i915_opregion.c
    @@ -257,8 +257,8 @@ void opregion_enable_asle(struct drm_device *dev)

    static struct intel_opregion *system_opregion;

    -int intel_opregion_video_event(struct notifier_block *nb, unsigned long val,
    - void *data)
    +static int intel_opregion_video_event(struct notifier_block *nb,
    + unsigned long val, void *data)
    {
    /* The only video events relevant to opregion are 0x80. These indicate
    either a docking event, lid switch or display switch request. In


    \
     
     \ /
      Last update: 2008-12-09 19:29    [W:0.020 / U:29.532 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site