return extdev + *hdr;
 }
 
-u16
+static u16
 nvbios_extdev_entry(struct nouveau_bios *bios, int idx, u8 *ver, u8 *len)
 {
        u8 hdr, cnt;
 
        return therm + nv_ro08(bios, therm + 1);
 }
 
-u16
+static u16
 nvbios_therm_entry(struct nouveau_bios *bios, int idx, u8 *ver, u8 *len)
 {
        u8 hdr, cnt;
 
        struct nouveau_bus base;
 };
 
-void
+static void
 nv04_bus_intr(struct nouveau_subdev *subdev)
 {
        struct nouveau_bus *pbus = nouveau_bus(subdev);
 
        return nouveau_therm_fan_set(therm, true, percent);
 }
 
-void
+static void
 nouveau_therm_fan_set_defaults(struct nouveau_therm *therm)
 {
        struct nouveau_therm_priv *priv = (void *)therm;
 
        return -ENODEV;
 }
 
-int
+static int
 nouveau_fannil_set(struct nouveau_therm *therm, int percent)
 {
        return -ENODEV;
 
        return priv->percent;
 }
 
-int
+static int
 nouveau_fantog_set(struct nouveau_therm *therm, int percent)
 {
        struct nouveau_therm_priv *tpriv = (void *)therm;
 
        return core_temp;
 }
 
-int
+static int
 nv40_fan_pwm_ctrl(struct nouveau_therm *therm, int line, bool enable)
 {
        u32 mask = enable ? 0x80000000 : 0x0000000;
        return 0;
 }
 
-int
+static int
 nv40_fan_pwm_get(struct nouveau_therm *therm, int line, u32 *divs, u32 *duty)
 {
        if (line == 2) {
        return -EINVAL;
 }
 
-int
+static int
 nv40_fan_pwm_set(struct nouveau_therm *therm, int line, u32 divs, u32 duty)
 {
        if (line == 2) {
 
        nouveau_object_debug();
 }
 
-int
+static int
 nouveau_do_suspend(struct drm_device *dev)
 {
        struct nouveau_drm *drm = nouveau_drm(dev);
        return 0;
 }
 
-int
+static int
 nouveau_do_resume(struct drm_device *dev)
 {
        struct nouveau_drm *drm = nouveau_drm(dev);