mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-14 15:46:07 +07:00
media: staging: atomisp: Unexport local function
There is no need to export function which is only used once in the same module where it's defined. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
cfb1693cec
commit
84cf77579c
@ -23,7 +23,6 @@ int atomisp_register_i2c_module(struct v4l2_subdev *subdev,
|
||||
struct v4l2_subdev *atomisp_gmin_find_subdev(struct i2c_adapter *adapter,
|
||||
struct i2c_board_info *board_info);
|
||||
int atomisp_gmin_remove_subdev(struct v4l2_subdev *sd);
|
||||
int gmin_get_config_var(struct device *dev, const char *var, char *out, size_t *out_len);
|
||||
int gmin_get_var_int(struct device *dev, const char *var, int def);
|
||||
int camera_sensor_csi(struct v4l2_subdev *sd, u32 port,
|
||||
u32 lanes, u32 format, u32 bayer_order, int flag);
|
||||
|
@ -608,8 +608,8 @@ EXPORT_SYMBOL_GPL(atomisp_gmin_register_vcm_control);
|
||||
* argument should be a device with an ACPI companion, as all
|
||||
* configuration is based on firmware ID.
|
||||
*/
|
||||
int gmin_get_config_var(struct device *dev, const char *var, char *out,
|
||||
size_t *out_len)
|
||||
static int gmin_get_config_var(struct device *dev, const char *var,
|
||||
char *out, size_t *out_len)
|
||||
{
|
||||
char var8[CFG_VAR_NAME_MAX];
|
||||
efi_char16_t var16[CFG_VAR_NAME_MAX];
|
||||
@ -691,7 +691,6 @@ int gmin_get_config_var(struct device *dev, const char *var, char *out,
|
||||
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(gmin_get_config_var);
|
||||
|
||||
int gmin_get_var_int(struct device *dev, const char *var, int def)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user